付济华中医师联系方式:提交表单 脚本 好像没有错,但还是报错?

来源:百度文库 编辑:中科新闻网 时间:2024/06/14 10:10:35
if trim(document.all.QtoASK.value)="" then
msgbox "请输入您要查询的内容!"
window.event.returnvalue=false
exit sub
end if
document.AskForm.action="search.asp"
AskForm.submit()
end sub

QtoASK 是表单名