赞
踩
<HTML>
<HEAD>
<TITLE>New Document </TITLE>
<script language="JavaScript">
function keydown()
{
if(document.ff.input1.value.substring(3,6)=="074")
{
document.ff.input2.value="计算机学院";
}
}
</script>
</HEAD>
<BODY>
<form action="" name="ff" method="post">
<input type="text" name="input1" onKeyUp="keydown()">
<br>
<input type="text" name="input2">ujhhjn
</form>
</BODY>
</HTML>
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。