<INPUT TYPE="checkbox" NAME="MyCheckbox" VALUE="Select Me" DISABLED> document.forms[0].MyCheckbox.disabled = true;
Never been to CodeSnippets before?
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
Disable a checkbox (See related posts)
Comments on this post
You need to create an account or log in to post comments to this site.
Related Posts
» Redirect after 5 seconds in html javascript
» Clear form with Javascript in xhtml html javascript firefox clear form msie valid
» Collapsable Navigation Menu in css html javascript
» Disable selecting text in HT... in html javascript
» Check / Uncheck all checkbox... in html javascript forms
» Fix IE 5.5 and IE 6 PNG tran... in html javascript iefix
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails
The javascript line should set disabled to true, not false.