给你的form起一个id:form1
window.opener.form1.text1.value
window.opener.form1.S1.value
window.opener.form1.select1.value

解决方案 »

  1.   

    opener.from名称.input名称.value
    opener.from名称.textarea名称.value
    opener.from名称.select名称.value
      

  2.   

    Option的text的值3333呢?
    试一试window.opener.form1.select1.options[selectedIndex].text。为什么我用
    window.opener.form1.text1.value
    window.opener.form1.S1.value
    window.opener.form1.select1.value
    提示运行错误,对象不支持属性或方法?前面几位可不可以讲讲opener用法?
      

  3.   

    你的子窗体应该是你用window.open方法打开的,这样才能在子窗体里面找到父窗体。
      

  4.   

    不好意思,漏了一句,误导!
    还要给selectedIndex赋值!改个名吧,以免产生误解!
    Index=window.opener.form1.select1.selectedIndex;
    window.opener.form1.select1.options[Index].text;
    这样就没问题了!
    谢谢楼上的,虽然我确实用了window.open,可是你的话提醒了我,因为我用的是submit按钮!呵呵!
      

  5.   

    用window.open可以这样用,
     用submit是不是用同样的办法也可以的???
     遇到同样的问题。
     关注。