I don’t think the current jquery syntax to enable/disable form elements is intuitive. But here it is:
$("#my_element").attr("disabled", "disabled"); // to disable $("#my_element").removeAttr("disabled"); // to enable
I don’t think the current jquery syntax to enable/disable form elements is intuitive. But here it is:
$("#my_element").attr("disabled", "disabled"); // to disable $("#my_element").removeAttr("disabled"); // to enable