This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes checkbox must always be checkd Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "checkbox must always be checkd" Watch "checkbox must always be checkd" New topic
Author

checkbox must always be checkd

Sid varma
Ranch Hand

Joined: Apr 06, 2009
Posts: 37
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


Siddhartha Varma
SCJP 1.6 - 93 %, SCWCD - 85%
Kartik Talasu
Ranch Hand

Joined: Aug 21, 2009
Posts: 98
Here is the code......


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: checkbox must always be checkd
 
Similar Threads
Radio button
how to disable if one or more check boxes selected
How to populate a value in text box
disabling text field after clicking on the checkbox
problem in getting values using EL