简单问题在线等,急啊?
第一个页面:
用户名:<input type="text" name="yhm" size="20">
<input type="button" name="checkhw" onClick="window.open ('checkhw.asp?yhdm='+document.frmReg.yhm.value)" ,'_blank','width=400,height=100,location=no,menubar=no,resizable=no,status=no,titlebar=no,toolbar=no')" value="检测用户名是否已经被他人使用">
第二个页面:
hw = Request.QueryString ("yhdm")
str = "select * from loginb where hwid = '"&hw&"'"
Response.Write ""&str&""
Response.End
rs.open str,conn
if not rs.EOF then
Response.Write "用户名已经被使用,请重新输入新的用户名!\n"
为什么我得不到第一个页面传过来的用户名啊???