javascript thread: unique menu items per selected radio button...
Does this help?
<form name=aform>
<input type=checkbox checked name=atoggle
onclick="document.aform.alist.disabled = !this.checked">
To toggle this select box -->
<select name=alist>
<option>AAAAAAAA
<option>BBBBBBBB
</select>
</form>
Fong
> -----Original Message-----
> From: Aaron sahlin [mailto:aaronsahlin@y...]
> Sent: mardi 17 septembre 2002 00:50
> To: javascript
> Subject: [javascript] unique menu items per selected radio button...
>
>
> I have a panel with radio buttons and a dropdown menu.
> Each radio button has different menu items that can be
> performed on that item, so the
> dropdown needs to be dynamically changed based on which radio
> button is selected.
>
> Has anyone done anything like this before? The only thing
> that I know is that I need to
> implement the onClick() method for each radio button so I can
> update / change the menu
> items for that selected radio. But how do I keep track of
> which menu items went with which
> radio button.
>
> Thanks in advance.
>
> ---
>
> Improve your web design skills with these new books from Glasshaus.
>
> Usable Web Menus
> http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/th
> eprogramme
> r-20
> Constructing Accessible Web Sites
> http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/th
eprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20