dim ie,wd wd=inputbox("输入搜索关键字:","百度","cmdos.net") if trim(wd)<>"" then set ie=createobject("internetexplorer.application") ie.visible=true ie.navigate "http://www.baidu.com/s?tn=asp126_pg&word=" & wd end if
用response.end() 例子: if 条件=true then response.write("<script>alert('到此停止')</script>") response.write("<script>location='其它页面.asp'</script>") response.end() end if