This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how do i disable radio button in javascript

 
sumana ar
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 449
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sumana,

Check this link
http://rathorev.50megs.com/radio.html
View the source of the page. Hope this helps.
 
sumana ar
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
its working..once again thanks a lot for that help
sumana.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic