看看这段javascript是不是很奇怪
<html>
<head>
<title>无标题文档</title>
<script type="text/javascript">
function check(){
var aa = document.getElementById("t").value;
var bb = document.getElementById("y").value;
if(bb > aa){
alert("您输入的是:" + bb + " " + "现在缺少的职位个数为:" + aa);
alert("现在只有" + aa + "个职位!");
alert(bb + ">" + aa);
}
}
</script>
</head>
<body>
<form action="" method="post">
<input type="hidden" value="10" id="t" />
<input type="text" id="y" />
<input type="button" value="提交" onClick="check();" />
</form>
</body>
</html>
保存为.html格式的文件,然后在文本框里面输入2然后点提交,看看