aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes how do i disable radio button in javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how do i disable radio button in javascript" Watch "how do i disable radio button in javascript" New topic
Author

how do i disable radio button in javascript

sumana ar
Greenhorn

Joined: Aug 06, 2003
Posts: 28
hi all..
i've two sub radio buttons under a main radio button..if the main radio button is checked, only then the sub radio buttons need to be enabled..
i've tried using the statement
radioname.selected = false
but of no use..
can any one help me with this problem,..
thanks
sumana
Vijay S. Rathore
Ranch Hand

Joined: Oct 29, 2001
Posts: 449
Hi Sumana,

Check this link
http://rathorev.50megs.com/radio.html
View the source of the page. Hope this helps.


SCJP, SCJD, SCWCD1.4, IBM486, IBM484, IBM 483, IBM 287, IBM141, IBM Certified Enterprise Developer - WebSphere Studio, V5.0
Author of IBM 287 Simulator Exam
sumana ar
Greenhorn

Joined: Aug 06, 2003
Posts: 28
its working..once again thanks a lot for that help
sumana.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how do i disable radio button in javascript