本身没错,忽略了 <body onload="dodd">
改为:<html>
<head>
<title> New Document </title>
<script language="vbscript">
sub dodd
set filemenuobj=document.getElementById("filemenu")
filemenuobj.innerHtml="fdgdfgdfgdg"
end sub
</script>
</head><body onload="dodd">
<form action="" method="post" name="frmxx" id="frmxx">
<table><div id="filemenu" name="filemenu"><tr id=tryy1 class=Listrow1>
<td align=center class=ListCellRow width=60 nowrap>fdsdfsdfsdf</td>
</td></tr></div></table><input class="button" onclick="vbscript:dodd" type="button" value="dsfsdf" id=button2 name=button2></form>
</body>
</html>