i can add checked property using following code
$('#specificCheckBox').prop('checked', true);
but how can remove this property using jquery or Javascript.
i can add checked property using following code
$('#specificCheckBox').prop('checked', true);
but how can remove this property using jquery or Javascript.
Don't remove it, but set it to false:
$('#specificCheckBox').prop('checked', false);
here is the fiddle
$('#btnCheck').click(function(){
$('#check').attr('checked', true);
});
$('#btnUncheck').click(function(){
$('#check').attr('checked', false);
});