Great! Thanks. It seems to be working now. Funny though that the opener.document.getElementById works anymore.
But I think this solution is much more robust. Cheers, Eelco > -----Oorspronkelijk bericht----- > Van: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Namens Philip Chee > Verzonden: zondag 1 januari 2006 19:37 > Aan: [email protected] > Onderwerp: Re: [Project_owners] opener.document.getElementById() > > > On Sun, 1 Jan 2006 19:15:07 +0100, Eelco van Kuik wrote: > > > This code doesn't work anymore in FF 1.5: > > > aList = opener.document.getElementById("needlesearch-editor-list"); > > aValue = aList.selectedItem.getAttribute("type") > > > aValue doesn't return the right value anymore. > > So what is it returning? > > > How can I get to the value of > > the selected item in a list in a different window(the > opener window)? > > > The list is generated using rdf datasources. > > How about passing the selected item as one of the parameters > to the new window? > > <http://developer.mozilla.org/en/docs/Working_with_windows_in_ chrome_code#Passing_data_between_windows> <http://developer.mozilla.org/en/docs/index.php?title=Working_with_windows_i n_chrome_code&printable=yes#Passing_data_between_windows> Phil -- Philip Chee <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> http://flashblock.mozdev.org/ Guard us from the she-wolf and the wolf, and guard us from the thief, oh Night, and so be good for us to pass. _______________________________________________ Project_owners mailing list [email protected] http://mozdev.org/mailman/listinfo/project_owners _______________________________________________ Project_owners mailing list [email protected] http://mozdev.org/mailman/listinfo/project_owners
