<!DOCTYPE html >
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>变量赋值</title>
<script type="text/javascript">
var num3=prompt();
alert("这个num3的值:"+num3);
</script>
</head>
<body>
</body>
</html>
Yexiaomo
相关分类