document.form1.action = "haha1.asp";
document.form1.submit();document.form1.action = "haha2.asp";
document.form1.submit();其他的同理,最好使数组循环自己试试看,没做过

解决方案 »

  1.   

    代码执行速度较快,同时,好像没有相对应地打开多个窗口,所以这样连续SUBMIT可能有问题。一种方法是做个传参递送,传到一个页面后在那个页面再传到另一页面。另一种更正规的方法是利用SESSION存储这些数据,在根据需要打开那些需要接收数据的页面时从SESSION里提取这些数据。其实,从设计角度来看,楼主这种做法可能本身就存在弊病,一般情况下,传递是绝不能这么杂乱的。
      

  2.   

    document.form1.action = "haha1.asp";
    document.form1.target ="_blank";
    document.form1.submit();document.form1.action = "haha2.asp";
    document.form1.target ="_blank";
    document.form1.submit();提交到n个新窗口