This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java script problem  RSS feed

 
seema pal
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
three radio button ----- two of them is options select and one textbox with the third radio button i want that by check the radio button related options select or textbox enable otherwise disable.....
code ---
input type="radio" checked="true" name="actmode" value="setact"
select name="activity" size="1"
input type="radio" name="actmode" value="setlead"
select name="leadername" disabled size="1"
input type="radio" name="actmode" value="setpoll"
input type="text" name="pollno" disabled value=""
 
vijay jamadade
Ranch Hand
Posts: 246
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey you can call a javascript function which will enable the select options on click of the radio button

you can use
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!