Should be the following:
$('#chkBrand').prop('checked', true);
$('#chkBrand').prop('checked', false);
Although your query selector assumes that you've assigned
chkBrand
as the element
id
on the checkbox.
If you've only assigned it to name, this will not work.
<input type="checkbox" id="chkBrand" />
Taken from here:
http://stackoverflow.com/questions/426258/checking-a-checkbox-with-jquery[
^]