Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help! having problem with window.opener in IE

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
i have two windows in my code.
from child window, using window.opener, i am trying to populate the select list of parent window.
i am able to vacant the select list of parent window from child window, but not able to add anything in it.
This is working FINE in NETSCAPE, but gives error in IE4/IE5.
the error is: "server threw an exception"

The code is:
window.opener.document.forms[0].selectList.options[0] = new Option('Test', '0');

some can please help me out there?
thanks,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top