File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes checkbox must always be checkd Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "checkbox must always be checkd" Watch "checkbox must always be checkd" New topic
Author

checkbox must always be checkd

siddhartha varma
Greenhorn

Joined: Apr 06, 2009
Posts: 16
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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: checkbox must always be checkd
 
Similar Threads
problem in getting values using EL
Radio button
how to disable if one or more check boxes selected
disabling text field after clicking on the checkbox
How to populate a value in text box