$("#parent-selector :input").attr("disabled", true);
$('#question_type').on('change', function() {
$("#objective :input").attr("disabled", true);
});
January 20, 2024 in Javascript
$("#parent-selector :input").attr("disabled", true);
$('#question_type').on('change', function() {
$("#objective :input").attr("disabled", true);
});