uncheck checkbox on page refresh
<script type="text/javascript">
$(document).ready(function(){
$(':checkbox:checked').prop('checked',false);
</script>
Use prop instead:
$(':checkbox:checked').prop('checked',false);
or removeAttr:$(':checkbox:checked').removeAttr('checked');
Comments
Post a Comment