请教,同一页面的form action的重复问题
ASP代码
页面上有两个Form,当同时存在时,第二个Form的action地址变成了www.hao123.com/sendmail.php,请问如何解决,谢谢。
一个为:邮箱的快速登陆
<form name= "MailCheck " action= "http://www.hao123.com/sendmail.php " method= "post " onsubmit= "check(this);return false; " target= "_blank ">
<input type= "submit " class= "Btn " name= "button " onclick= "setTimeout( 'CP(MailCheck) ',1000) " value= "登录 ">
一个为:站内信息的查找
<form name= "Form2 " method= "post " action= "Search2.asp " target= "_blank ">
<input id= "SearchInside " name= "SearchInside " type= "submit " id= "Search " value= "搜索 ">
------解决方案--------------------一般不会,form写全了么?用 </form> 结束
<form name= "MailCheck " action= "http://www.hao123.com/sendmail.php " method= "post " onsubmit= "check(this);return false; " target= "_blank ">
<input type= "submit " class= "Btn " name= "button " onclick= "setTimeout( 'CP(MailCheck) ',1000) " value= "登录 ">
</form>
<form name= "Form2 " method= "post " action= "Search2.asp " target= "_blank ">
<input id= "SearchInside " name= "SearchInside " type= "submit " id= "Search " value= "搜索 ">
</form>
------解决方案--------------------看看在第一个form的结束有没有 </form> ,hookee的方法不错。