[Project_owners] opener.document.getElementById()

Philip Chee philip.chee at gmail.com
Mon Jan 2 02:37:21 EST 2006

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?



Philip Chee <philip at aleytys.pc.my>, <philip.chee at gmail.com>
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.

More information about the Project_owners mailing list