源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

如何将一个表单同时提交到两个地方处理

  • 时间:2022-05-14 18:22 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:如何将一个表单同时提交到两个地方处理
form.submit中控制。。。。 <html> <script language=javascript> function dosubmit(){          window.open('first.php?var1='+window.form.var1.value+'&var2='+window.form.var2.value);          window.open('second.php?var1='+window.form.var1.value+'&var2='+window.form.var2.value);          return false; } </script> <form name=form onsubmit="return dosubmit();"> <input type=text name=var1><br> <input type=text name=var2> <br><input type=submit></form>
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部