Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Javascript
Javascript to check checkboxes?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="McKirahan, post: 4712890"] The following does what you want. (I've used JW's elegant approach.) Watch for word-wrap. <html> <head> <title>checkers.htm</title> </head> <body> <form> <input type="checkbox" name="p.1" value="One" onmouseover="this.checked=!this.checked"> <input type="checkbox" name="p.2" value="Two" onmouseover="this.checked=!this.checked"> <input type="checkbox" name="p.3" value="Three" onmouseover="this.checked=!this.checked"> <input type="checkbox" name="p.4" value="Four" onmouseover="this.checked=!this.checked"> </form> </body> </html> [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Javascript
Javascript to check checkboxes?
Top