Ray's Asp.net Blog
Answers and code snippets from ASP.NET projects (Webforms/MVC/Classic ASP)
Pages
Event registration app with QR/Paypal
Home
Wednesday, June 8, 2011
How do I turn on off a checkbox with JQuery or Javascript?
For specific checkbox:
check:
$("form #mycheckbox").attr('checked', true);
uncheck:
$("form #mycheckbox").attr('checked', false);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment