javascript获取表单参数拉!~!!~!~~!~!
哪位老兄给解决一下这个问题啊:
aaa.htm
<html> <body>
<form name= "frm1 " action= "bbb.asp " method= "post ">
<input type= "text " name= "riqi ">
<input type= "submit " name= "sbm " value= "OK ">
</form> </body> </html>
bbb.asp
<html>
<script language= "javascript ">
......
</script>
</html>
我想在bbb.asp的js脚本中显示aaa.htm提交过来的riqi值,或者让提交过来的日期riqi参数做为条件在数据库中查找相关记录.高手们给指点指点啊!~~!!!
------解决方案--------------------表单的数据是提交给服务器的, <%=Request.Form( "riqi ")%> 就能取到了,js里面用记得加引号