如何把一个页面上的多个数据通过JavaScript传送到下一个页面上去
弹出页面的语句是:windows.showModalDialog('','','');
谢谢帮忙!!!

解决方案 »

  1.   

    str=windows.showModalDialog('xxx.htm','',''); 
    alert(str);
    xxx.htm
    window.returnValue = "需要返回的值"
      

  2.   

    父页面:
    showModalDialog("test.htm","abc,ddd,eee", "");
     子页面:var aaa= window.dialogArguments;
    alert(aaa);
      

  3.   

    父页面: 
    showModalDialog("test.htm","abc,ddd,eee",""); //传递3个值,用逗号分开
      test.htm页面: 
    var   aaa =   window.dialogArguments.split(","); //取得参数,并分开
    alert(aaa[0]); 
    alert(aaa[1]); 
    alert(aaa[2]); 
      

  4.   

    http://dev.csdn.net/article/27760.shtm
      

  5.   

    呵呵!
    传多个参数时,加上双引号就不好用了,并且datagrid上的数据传不上去还有 采用什么事件能让数据在点开新页面时就显示出来啊谢谢!
      

  6.   

    showModalDialog可以把window对象传过去,
    查查 arguments的用法