toggle checkbox with jQuery

[javascript]
$(‘#id’).attr(‘checked’, !$(‘#id’).attr(‘checked’));
[/javascript]

Tags:

Leave a Reply