houssam_ballout Posted December 29, 2006 Share Posted December 29, 2006 Hello allI have a form which has alot of radio buttons and check box for each group (4 or 5)I want to enable these boxes when I uncheck the check box and restore it back.can I do with javaScript?any suggestionTHanks Link to comment Share on other sites More sharing options...
PrateekSaxena Posted December 29, 2006 Share Posted December 29, 2006 I think there is something in JS like - objectmame.enabled - booleanValuetry it out Link to comment Share on other sites More sharing options...
jesh Posted December 29, 2006 Share Posted December 29, 2006 You can do it with the HTML DOM.Checkbox: http://www.w3schools.com/htmldom/dom_obj_checkbox.aspRadio Button: http://www.w3schools.com/htmldom/dom_obj_radio.asp <input type="checkbox" id="cb1" /><script type="text/javascript">document.getElementById("cb1").disabled = true;</script> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now