I need remove the attribute \"checked\" of one checkbox when errors occur.
The .removeAttr function not work. Any idea? :/
HTML
I use prop attribute for unchecked the checkbox when errors occur. You don't need to use remove property for unchecked your checkbox.
unchecked
checkbox
$('input#IDName').prop('checked', false);
It is working fine for me. Hope it will work for you also.