i have used code below on check box click. It works on local host but it not worked in mobile when i unchecked check box any one have solution for this?
$("#checkbox-1a").change (function(){
var chkstatus = $(this).attr('checked');
alert(chkstatus);
if (chkstatus != 'checked') {
$('#locationdiv').slideUp();
$('#address').val('');
$('#zip').val('');
} else {
$('#locationdiv').slideDown();
}
});
Thanks in advance