Checkboxes- Check & Uncheck w/ jQuery
by chayacooper
HTML
<input type="checkbox" name="foo" value="bar" />
<input type="button" onclick="alert($('input[name=foo]').is(':checked'));" value="Show" />
<input type="button" onclick="$('input[name=foo]').prop('checked', true);" value="On" />
<input type="button" onclick="$('input[name=foo]').prop('checked', false);" value="Off" />