- HTML code
<html> <head></head> <body> <form id="form1" name="form1" action="b.html" method="post"> <input type="text" name="username" /> <input type="submit" value="提交"/> </form> </body> </html>
如何在b.html中获得表单提交过来的参数?
(post方式提交,不用PHP、JSP、ASP....)
------解决方案--------------------
直接了当的告诉你,JS无法获得POST提交的数据。
------解决方案--------------------