<html>
<head>
<title> 测试 </title>
</head>
<body>
<form name="a">
<input type="text" name="b" size=25>
</form>
<script language="javascript">
document.getElementsByName("b")[0].value='123';
//b.value="aaa";
</script>
</body>
</html>
<head>
<title> 测试 </title>
</head>
<body>
<form name="a">
<input type="text" name="b" size=25>
</form>
<script language="javascript">
document.getElementsByName("b")[0].value='123';
//b.value="aaa";
</script>
</body>
</html>
浏览器执行脚本是从上到下解释执行的,
@以前的帐号忘了
这是不需要触发的。