How I can make my drop down disable in Edit but enable in Create User. I have the drop down in MVC view and Create and Edit user in jquery. I already tried these but not making it disabled using any of these in jquery:
$("#dropdown").prop("disabled", false);
$('#dropDownId').attr('disabled', true);
$('#dropdown').prop('disabled', true);
and in my MVC with when I have like this:
<select id="organization" class="create-user-select-half" disabled>
it making it disabled but I can not again Enable it in jquery.
organization, notdropdownordropDownId.$('#organization').attr('disabled', true);