帮忙找错,应该很简单!
<script language="VBScript" >
sub done()
document.frmlogin.sbtenter.disable=true
'上一行出错
'document.form1.B1.disabled=true
end sub
</script>
<FORM id="frmlogin" action="./chat/login.asp" method=post name="frmlogin">
<TABLE border=2 borderColor=#9999ff cellPadding=2 cellSpacing=0 width=331>
<TBODY>
<TR bgColor=#ccccff>
<TD align=middle width="321">
<p align="center">聊天登陆</p>
</TD></TR>
<TR bgColor=#eeeeff>
<TD align=middle width="321">
<P align="left">昵称:<INPUT name="username" size=10 tabindex="1">
<INPUT id="sbtenter" name="sbtenter" type="submit" value="进入" tabindex="4" onClick="vbscript:done">
<BR>密码:<INPUT name="password" size=10 type="password" tabindex="2"> (游客无须密码)
</P><TD></TR></TBODY></TABLE>
</FORM>