Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

checkbox must always be checkd

 
Sid varma
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello guys,

i am trying to create a page with two radiobutton and two checkboxes. the functionality is, the checkbox must automatically be checked if the corresposding radiobutton is clicked. also while the radiobutton is checked, one must NOT be able to uncheck the checkbox. finally, when a different radiobutton is clicked, then the previously clicked checkbok must be released ( unchecked). i am not able to get the final functionality

help is greatly appreciated

thanks



where $ is nothing but Document.getElementByID()
aand the colort.getDisplay whatever is nothing but the database name of the checkbox
 
Kartik Tal
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the code......


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic