读书人

form.submit()步骤缺陷

发布时间: 2012-09-05 15:19:35 作者: rapoo

form.submit()方法缺陷

<SCRIPT type='text/javascript'> function firstpage(){ var theform=document.getElementById('fmcc'); theform.action=theform.action+'?curpage=2';document.location.href=theform.action;}</SCRIPT>

?用这种方式可以传递成功,前台地址栏位:

http://localhost:8080/pageTest/lpm/step.action?curpage=2?有带上参数

读书人网 >Web前端

热点推荐