i am new to jquery please do help! it is working fine in web but not working in mobile.
$(document).on('click', 'label', function(){
if (!$(this).next('input').is(':checked')) {
$('input[data-cat-qty="' + $(this).next('input').attr('data-cat') + '"]').textinput("enable");
$('input[data-cat-qty="' + $(this).next('input').attr('data-cat') + '"]').slider("enable");
$('input[data-cat-qty="' + $(this).next('input').attr('data-cat') + '"]').focus();
} else {
$('input[data-cat-qty="' + $(this).next('input').attr('data-cat') + '"]').textinput("disable");
$('input[data-cat-qty="' + $(this).next('input').attr('data-cat') + '"]').slider("disable");
}
});