Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: radio button and menu


Message #1 by "tan" <yytan@e...> on Tue, 10 Sep 2002 08:40:02
Hi Tan,,
try using 
document.getElementById(" your Menu Name ").innerHTML tags this will 
help u manupulatng the labels as per the radio button selection...
Regards
Gautam
gautamkhanna27@y...
 tan wrote:i have 2 radio button, the first value is "book" and second 
is "magazine". the problem is i don't know how to change the menu 
according to the radio button that have selected. 

let say:
if the user click on book radio button, then the menu will have the 
value "author" "title" and "isbn". 

else if the magazine is selected, then the menu will have the 
value "publisher" "year" and "topical heading".

any help is much appreciated. thanks a lot :)


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20


---------------------------------
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost

  Return to Index