复制代码 代码如下:<form onsubmit="aa(this);"> <input type="text" name="" value="test" /><input type="submit" value="提交" /> </form> <iframe src="" name="fA" frameborder="1" scrolling="no"></iframe> <iframe src="" name="fB" frameborder="1" scrolling="no"></iframe> <script type="text/javascript"> function aa(oForm){ oForm.action="http://bbs.51js.com"; oForm.target="fA" oForm.submit(); oForm.action="http://www.iecn.net/bbs/"; oForm.target="fB" oForm.submit(); return false; } </script>
推荐阅读
datePicker——日期选择控件(with jquery)
demo: http://demo.jb51.net/js/2011/jQuery_calendar/index.htmldown: http://www.jb51.net/jiaoben/19622.html用法很简单,而且js文件也很小,之前也见过一些日期选择控件,但个头都比较大,影响速度可以设置日>>>详细阅读
本文标题:在一个form用一个SUBMIT(或button)分别提交到两个处理表单页面的代码
地址:http://www.17bianji.com/kaifa2/JS/30924.html
1/2 1