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_in_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