Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Controling a SELECT from a child window


  • From: Dstoltz at SHH.ORG (David Stoltz)
  • Subject: [Javascript] Controling a SELECT from a child window
  • Date: Mon Sep 19 12:56:24 2005

Hi All,

I have a problem - I am popping up a child window, and I need to:

1) Clear a select box on the parent of all it's options
2) Add new options to the select box on the parent window
3) Select (highlight) an option in the select box on the parent window

Can anyone give me any code how I can do this from the CHILD window? I
am trying with this so far to select an option, with no luck:

window.opener.document.form1.mylist.option[0].selected=true;

Thanks for any help