...

View Full Version : window.open and select box problem



ebco
06-17-2004, 03:25 PM
i am using a code in same page for adding a option in dropdown from same page it is working properly

document.parentfrms.selectfrm.options[1]=new Option("sameer","2");
document.parentfrms.txtstr.value="sameer";

now i opened a window from the same page and call the function adding window.opener it thow me javascript error the server threw an exception

window.opener.document.parentfrms.txtstr.value="sameer";
window.opener.document.parentfrms.selectfrm.options[1]=new Option("sameer","2");


:rolleyes:

ebco
06-18-2004, 06:58 AM
is there no ans. for this question or i did not expalin it properly?

glenngv
06-18-2004, 11:29 AM
http://www.codingforums.com/showthread.php?t=40070



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum