I need remove the attribute \"checked\" of one checkbox when errors occur.
The .removeAttr function not work. Any idea? :/
HTML
Try this to check
$('#captureImage').attr("checked",true).checkboxradio("refresh");
and uncheck
$('#captureImage').attr("checked",false).checkboxradio("refresh");