以前遇到过点击按钮把值提交到不同页面,我当时是用iframe做的,我当时把页面分成了左(上、下)、右三块,左下iframe 的name="framain",右边的iframe name="framap"。
<script type="text/javascript"> function send_2page_f(formname, page1, target1, page2, target2) { with (eval("document." + formname)) { action = page1 target = target1 submit() action = page2 target = target2 submit() } } </script> <form id="Form1" name="seachbusStation" method="post"> <div> <input type="button" onclick=‘send_2page_f("seachbusStation","yemian.aspx?screenwidth={screenwidth}&token={token","framain",
"yemian1.aspx?screenwidth={screenwidth}&token={token}&","framap")‘ /> </div> </form>