运行后点按钮,出现错误,提示是LOOK不匹配,我看了一下,好像没有什么错误啊,大家帮我看看谢谢了。
<html>
<body>
<script language="vbscript">
sub look()
if empty=lookform.bookid.value and empty = lookform.bookname.value then
window.alert "请输入要查询书籍的书名或ID"
else
lookform.submit
end sub
</script>
<center></center>
<form action="lookover.asp" method="post" name="lookform">
<fieldset>
<legend>查看书籍信息</legend>
书籍名称:<input type="text" name="bookname" size=15>或:<br>
书号:<input type="text" name="bookid" size=15><br>
短篇文章<input type="radio" name="radio" checked>
长篇图书<input type="radio" name="radio">
书馆书籍<input type="radio" name="radio"><br>
<input type="button" onclick="look" value="确定">
</fieldset>
</form>
</center>
</body>
</html>