I'm trying to remove the chosen disabled attribute but not working.
$('#check_book').prop('disabled', true);
I'm trying to remove the chosen disabled attribute but not working.
$('#check_book').prop('disabled', true);
to add disabled attribute use,
$('#check_book').prop('disabled', true);
to remove disabled attribute use
$('#check_book').prop('disabled', false);
or use
$('#check_book').removeAttr('disabled');
got it
$('#check_book').removeAttr('disabled', true).trigger("chosen:updated");