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