Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java script problem

 
seema pal
Ranch Hand
Posts: 39
  • 0
  • 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: 243
1
  • 0
  • 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