Hello.
I'm trying to disable elements when a checkbox is selected, but i only can disable a button at this time. Not select element or input element...
In the "value_change" event i have this javascript code
var checked = jQuery(this).find("input").prop("checked");
if(checked) {
//disabling input element - not work
Apperyio("myinput").attr("disabled", "disabled");
//disabling select menu list - not work
Apperyio("mylist").prop('disabled', false);
Apperyio("mylist").selectmenu("refresh");
$(".mylist").addClass("ui-disabled");
$('[dsid="mylist"]').addClass("ui-disabled");
Code: Select all
//disabling buttion
$("[dsid='mybutton']").addClass('ui-disabled');
//Appery('mybutton').attr('disabled', 'disabled'); //not work
}
Thank you.
Regards.