showing results for - "jquery disable select"
Lilac
21 Jun 2018
1$('#pizza_kind').prop('disabled', false);
Reilly
20 May 2019
1//disable by value
2$("#ddlList option[value='jquery']").attr("disabled","disabled");
3
4//disable by text
5$('#ddlList option:contains("HTML")').attr("disabled","disabled");
Leana
13 Sep 2020
1//JS
2$("#theSelect").change(function(){          
3  var value = $("#theSelect option:selected").val();
4  var theDiv = $(".is" + value);
5
6  theDiv.slideDown().removeClass("hidden");
7});
8
9
10$("div a.remove").click(function () {     
11  $(this).parent().slideUp(function() { $(this).addClass("hidden"); }); 
12});
13
14//HTML
15<body>
16<div class="selectContainer">
17    <select id="theSelect">
18        <option value="">- Select -</option>
19        <option value="Patient">Patient</option>
20        <option value="Physician">Physician</option>
21        <option value="Nurse">Nurse</option>
22    </select>
23</div>
24<div class="hidden isPatient">Patient <a href="#" class="remove" rel="Patient">remove</a></div>
25<div class="hidden isPhysician">Physician <a href="#" class="remove" rel="Patient">remove</a></div>
26<div class="hidden isNurse">Nurse <a href="#" class="remove" rel="Patient">remove</a></div>
27</body>
queries leading to this page
selectize disable option false jqueryif dropdown not selected other field disable jqueryselect box disabled jquerydisabled select option jquerydisabled dropdown elements jquerydisable select option jquery chosenselect disable option jqueryjquery disable selectremove disable in select tag jqueryif select option disabled jquerzenable selectselect add disabled jqueryjquery disable select option if already selecteddisable button until dropdown selected jquerydisable option selected jqueryselect not disabled jqueryjquery disable dropdown and enablejquery select option add disabledchange select option disabled jquerydisable options other than selected jquryjquery select disable all optionsdisable select option jqueryhow to remove disable options in dropdwon jqueryjquery make select disabled falsejquery chosen disable optionhow to disable option in select jquerydisabled property for select jqueryhow to disable default select option in jquery jquery find select and disable optiondisabled selected option jquerydropdown disabled option jqueryhow to deactivate disabled for select option in jqueryjquery set select option disableddisabling select jqueryselect disabled false jqueryget selected value disabled dropdown jqueryhow disable whole dropdown using jqueryjquery slect not disableddisable one option in select jquerywordpress disable dropdown menufind selected and disable jqueryjquery disable certain options in dropdownjquery enable selectjquery turn off other options while an option is selected in the select boxjquery disable select 2how to disable and enable dropdown in jquerydisable select jquery jquerydisable selection jquerydisable select tag in jqueryhow to disable option of dropdown on basis of value jquerydisable and enabled select input jquerydisabled chosen select jqueryjquery option disabledjquery select value to disable valuedisable dropdown in jquerydisable dropdown using jquerydisabled option in select with jqueryjquery css to disale select boxoption disabled jquery disable select picker jqueryjquery disable select boxdisable a dropdown in jqueryselect disabled in jqueryselect box enable disable jqueryjquery disable option in select by valuedisable all other dropdown using jquery when selected onedisable dropdown after selection jquerydisable option with jquery in selecthow to disable a select in jquerydisable dropdownlist mvc jquerydisable some options in select jqueryjquery selectize disablejquery select option disabled in each functionhtml if one select field is selected disable other select iddisable select text jqueryhow to disable select in jqueryjqury select and desablehow to disable one value in dropdowndisable all dropdown using jquerydisable dropdown option jqueryjquery set select 2 disabled and return to defaultjquery not disable selecthow to disable dropdown selected value in jquerydisable select html in jqueryjquery disable a select optiondisable option in dropdown jquery if othr dropdown selectselect disabled jquery htmljquery disabled selecthtml select disabled jqueryjquery disable an option in selectremove disabled select jquerydisable a select option jqueryhow to disable select box in jqueryjquery disable selectedenable option tag using jqueryhow we disable select picker jqueryjquery add options to select disabledjquery disable select picker optionhow to disable select element with for loop in jqueryjquery disable some options in selectdisable select box option with value jqueryselect disable enable jqueryjquery checkbox disables option for selectordisable all options in select jquerydisable specific option in select jqueryhow to check select box is disabled in jqueryhow to undo disabled in select jqueryjquery disable select optionselection deisable jquerydisable selecting in select tag using jqueryjquery selector disabledhow to disable kendo dropdownlist in jqueryjquery select disable optionjquery option selected disabledjquery disabled select dropdownjquery input type select disabledjquery select is disabledjquery chosen select disabledisabling select option jqueryjs enable select jqueryhow to disable options from a drop down using jquerydisable select box with selected option in jqueryjquery disable option by valuejquery remove disabled from select elementhow to disable dropdown using jquerydisabled option value jqueryenable or disable drop down in jqueryhow to disable selectpicker in jquerydisable mouse selectset select disabled jqueryjquery disable change select jqery disable selectdisable select jquerydisable select on click jqueryjquery disable select option elementcreate select disabled jqueryjquery disable select option by valueremove disable select option jquerydisable brower select element jqueryjquery disable select option if equalsdisable select and label for select jqueryhow to disable asp 3adropdownlist from jquery demojquery set selected option disableddisable option in dropdownjquery 3cselect 3e option disabled if selected in other 3cselect 3ejquery selector slect option not disabledjquery disable dropboxjquery disable selehow to disable select jqueryjquery set select box disabledoption disabled jquery after selectjquert deactivate selecthow to add disabled to select tag in jqeurydisabled dropdown element from array jqueryhow to disable selet option jquerydisable option dropdown jquery 24 28 27 23ttype option 3anot 28 3aselected 29 27 29 attr 28 27disabled 27 2c true 29 3benable all disabled dropdown in jquerydisable select list jqueryjquery make select disabledjquery disable select inputjquery disable select option iddisable dropdown option in jquerydisable chosen dropdown jquerydisable select jquerydisabled dropdown elemen jquerydisabled dropdown through jquerymake option value disabled jquery nput 5bname 3dhow to disable select tag in jquerychoosing a select will disable another select jquerywhen dropdown select enable input field jqueryhow to disable dropdown option in javascripthow to to disable select in jquerydisable all options but no disable option select dropdown jquerydisable and enable dropdown in jqueryset select as disabled jquerydisable other options in select after one option is selected option jqueryjquery selector id and not disablejquery disable select option based on valuedisable option chosen jquerydisable selected box jqueryhow to disable s select selectize jqueryoption select disabled selected jquerydisable all dropdown using jquery when selected valuedisable dropdown mvc jquerydisable select box jqueryjquery remove dropdown optionjs disable focushow to enable drop down in jquerydropdown disable in jquerydisable option select jqueryselect box option disabled using jqueryjquery select enable disablejquery disable specific select optionhow to disable a dropdown based on another dropdown selectionjquery disable a select dropdownselect enable jqueryjquery set select disabledjavascript set select option jquery disabledhow we disable selectlistitem in jquerydisable options in select jquerydisable selected option jqueryjquery disable 2fenable select optionshow to disable or enable options in the select option in jqueryhow to disable a select option in jqueryjquery disabled button before select dropdownjquery find select option remove disabledhow to disable select selectize jqueryjquery select disableddisable select field option jqueryhow to disable a selectdisable selection in jqueryjquery disable attributehow to diasble a specific option of dropdown in jqueryjquery remove all disabled options from selectadd disabled head in select using jqueryadd disabled to select jquerydisable kendo dropdownlist jqueryselect disable false jquerydisable select box option jqueryjquery enable field on selectiondisable all select option jqueryjquery disable input and dropdownhow to disable option after select using jqueryjquery select option disabled enableddisable dropdown list jqueryhow to disable select option jquerydisable option in jqueryhow to send disable select option in jqueryjquery disable select dropdownjquery disable and enable selectselect disabled using jquerydisable options for every new select jquerydropdown list in html disable in jqueryjquery disable a dropdowndisabled selector jqueryselect disabled jqueryselect jquery option disabledjquery disableremove disabled from select option jquerydisable select element jaquerydisable option 3e 3c 2fselect jqueryjquery enable disable dropdown option based on dropdown value usingenable disable select option jquerydisabled 3d 22disabled 22 jquery find selecors 3aselect in disable in jqueryjquery select option disabledisabled select option jquery not removing jqueryhow to disable option in dropdown using jqueryset disabled select jquery all optionscheck disabled in select tag html using jqueryhow to disable a dropdown in jquerydisable an option in select jquerydisable select option jquery apidropdown disabled second option in jqueryjquery select input by name and disabledjquery disable select textselect jquery disable prop flasejquery disable select optionshow to disable selectjquery disable optioncheck if select is disabled jquerydisable option in select jqueryhow to disable all option in select using jqueryremove disable from select using jquerydisable select option except jquerydisable select box by jqueryjquery enable disable button on select optiondisable select dropdown jquerymake select disabled jqueryhow to make select box disabled in jquerydisabled select jqueryselect disable jqueryjquery select 2 disable optionshow to disable dropdown option in jquerydisabled select in jqueryselect option disabled jqueryselect dropdown disable in jqueryjquery remove disabled selecthow to disable the select box in jquerydisable item in select jquerydisable select in jqueryhow to disable the combobox using jqueryhow to dropdown disable jqueryhjquery add a disabled selecthow to disable select input in jqueryjquery select disabledisable all option in select jquerydisable dropdown jqueryhow to enable 2fdisable a dropdown based on value in dyanmic dropdown in jqueryjquery enable and disable select how to disable select drop down in jquerychosen jquery disable optiondisable select text html jqueryhow to disable a select box in jquerydisable dropdown click jqueryif select option jquery disable javascript functionset disabled select jqueryjquery select option disabled 3cselect disabled 3e how to enable using jquerydisable a dropdown option how disable dropdown jqueryhow to enable the select box in jqueryhow to write a function that will disable a objects from a list of idsjquery make all select disabledhow to disabled amount when amount select option jqueryselect box disabled in jqueryjquery disable select option by idhow to get disabled dropdown selected value in jqueryjquery disable option in select listjquery select disabled optionset select disabled with jqueryclick the select button disable input box using jquerydisable dropdown list options jqueryjquery disable drop downdisabled some option in select with jqueryhow to disable a dropdown option in jqueryjquery add disabled options to selectjquery disable button before select dropdownjquery disable selectionjquery select field make disabledjquery disable dropdownremove disable option for all options in dropdown jquerydisable dropdown optionafter disable selection dropdown selects jquery how to deactivate disabele for select option in jqueryhow to disable dropdown option when specific option is selectedfind and remove disabled option jquerydropdown disabled but value get jqueryhow to make select disabled in jquerydisabled dropdown in jqueryjs disable focus highlighthow to get disabled dropdown value in jqueryhow to disable select option in jqueryhow to disable the drop down in jquerydisable click on select boxselect disabled with jquerydisable select from jquerydisable the select box using jqueryjquery disable selected option by textjquery disable selection on dragdeshabilitar select jqueryjquery disable input 2c selectselect option disabled from jqueryjquery disable selectorjquery disable option in dropdownjquery reset selecthow to disable an option in select using jqueryjquery if select box is disabledselectize disable option by jqueryjquery selected val disable another slect optionjquery checkbox disables option for select boxjquery select box disabledhow to disable and enable select box in cssdisable option in dropdown jqueryjquery dropdown disabledhow to enable 2fdisable a dropdown based on value in another dropdown in jqueryjquery select set elements disableddisabled select drop down jqueryhow to disable select element in jqueryjquery selectbox disableddisable select html jqueryjquery if select selected disabledhow to disable dropdownlist in mvc using jqueryjquery disable some select optionsdisable select using jqueryhow to disable dropdown in jqueryhow to disable a drop down jquerydisable select field jqueryjquery select desabledisable select in text jqueryhow to make dropdown disable in jqueryjquery disable nce selectchange select option to disabled one jquery disable an element in select jqueryjquery add disabled to selectjquery select dropdown disabledjquery disable a select controlhow to disable option in dropdownjquery select disable enableselect disabled option jqueryjquery disable select