jquery disable select

$('#pizza_kind').prop('disabled', false);

3.75
4
Abhineet 95 points

                                    //disable by value
$("#ddlList option[value='jquery']").attr("disabled","disabled");

//disable by text
$('#ddlList option:contains("HTML")').attr("disabled","disabled");

3.75 (4 Votes)
0
Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
jquery add a disabled select select disabled with jquery jquery disable an option in select find and remove disabled option jquery how to make select disabled in jquery jquery add options to select disabled jquery add disabled options to select disable all other dropdown using jquery when selected one disable all dropdown using jquery when selected value jquery enable disable dropdown option based on dropdown value using disable select option except jquery disable selected option jquery how to make dropdown disable in jquery jqery disable select jquery option disabled disable select box option with value jquery jQuery - disable/enable select options disable select box option jquery how to send disable select option in jquery jquery disable option in select list option disabled jquery disable dropdown click jquery selectize disable option by jquery selectize disable option false jquery jquery remove disabled from select element remove disabled select jquery selection deisable jquery disabled select option jquery disable option in jquery disabled property for select jquery disable all options but no disable option select dropdown jquery disable dropdownlist mvc jquery jquery disable some options in select jquery disable drop down jquery disable a select dropdown jquery select option disabled in each function find selected and disable jquery how to get disabled dropdown selected value in jquery how to disable a select box in jquery disabled select drop down jquery jquery disable select box jquery selectbox disabled disable select using jquery s:select in disable in jquery jquery add disabled to select how to disable default select option in jquery select dropdown disable in jquery jquery select set elements disabled disable select jquery jquery jQuery disable select option based on value get selected value disabled dropdown jquery jquery set select option disabled jquery find select and disable option jquery selector slect option not disabled jquery select disable all options disable select option jquery chosen jquery disable a select option disable option chosen jquery disable option selected jquery how to remove disable options in dropdwon jQuery disabled select option jquery not removing jQuery how we disable selectlistitem in jquery how to disable selectpicker in jquery disable select element jaquery select not disabled jquery add disabled to select jquery how we disable select picker jquery Disable option> </select jQuery disable all dropdown using jquery how to undo disabled in select jquery how to disable dropdown option when specific option is selected disabled some option in select with jquery disabled option in select with jquery how to disabled amount when amount select option jquery jquery make select disabled false dropdown disabled option jquery jquery select disable enable disable dropdown option jquery select disabled using jquery disable all options in select jquery disable select field option jquery disable one option in select jquery disable an element in select jquery click the select button disable input box using jquery JQUERY DISABLED SELECT create select disabled jquery how to enable/disable a dropdown based on value in another dropdown in jquery how to disable the combobox using jquery jquery disable nce select how to disable dropdown using jquery disable a select option jquery disable option in dropdown jquery how to disable option in dropdown jquery not disable select disable other options in select after one option is selected option jquery how to disable a dropdown in jquery disable select field jquery disable option in dropdown option disabled jquery after select remove disabled from select option jquery how to disable select jquery disable select dropdown jquery select disabled option jquery select disable enable jquery jquery selector disabled how to disable a select in jquery how to disable a select option in jquery how to disable and enable dropdown in jquery disable select list jquery disable dropdown option in jquery jQuery <select> option disabled if selected in other <select> disabled selected option jquery select disabled in jquery jquery disable option in select by value jquery select option disabled enabled jquery if select box is disabled disable option with jquery in select disable selection in jquery how to disable asp:DropDownList from jquery demo jquery disable a dropdown jquery disable a select control disable a dropdown option disable select picker jquery disable selection jquery jquery remove all disabled options from select disable select html jquery select jquery option disabled jquery disable select option id dropdown list in html disable in jquery jquery remove disabled select how to disable dropdown in jquery disable select box with selected option in jquery jquery disable button before select dropdown jquery disabled button before select dropdown how to to disable select in jquery jquery enable and disable select chosen jquery disable option disable and enabled select input jquery disable select from jquery jquery disable select text disabled selector jquery jquery disable select option by value jquery select option disable disable dropdown mvc jquery jquert deactivate select jquery option selected disabled how to disable option in select jquery how to disable dropdownlist in mvc using jquery dropdown disabled second option in jquery jquery disable option in dropdown disabled dropdown in jquery jquery select disable option jquery disable select dropdown jquery set select disabled disable item in select jquery disable dropdown in jquery how to disable or enable options in the select option in jquery javascript set select option jquery disabled select add disabled jquery select option disabled jquery disabled chosen select jquery jquery disable specific select option jquery disable select picker option disable and enable dropdown in jquery remove disable option for all options in dropdown jquery jquery disable dropdown jquery disable select option how to disable the select box in jquery disable select box jquery how to disable select option jquery how to disable a drop down jquery jquery select dropdown disabled jquery dropdown disabled jquery select is disabled option select disabled selected jquery how to disable option of dropdown on basis of value jquery remove disable select option jquery select disable option jquery disable options in select jquery jquery enable disable button on select option jquery disable selected select box disabled jquery jquery disable option how to disable select input in jquery how to disable select in jquery how to disable select option in jquery disable option select jquery how to check select box is disabled in jquery disable dropdown list options jquery jquery disabled select dropdown jquery select option disabled disable specific option in select jquery disable option in select jquery jquery disable dropbox after disable selection dropdown selects jquery select box option disabled using jquery disable brower select element jquery how to disable all option in select using jquery how to diasble a specific option of dropdown in jquery disable select option jquery api disable dropdown jquery how to disable select jquery select disabled option jquery reset select wordpress disable dropdown menu html if one select field is selected disable other select id jquery enable field on selection jquery remove dropdown option js disable focus highlight js disable focus enable select jquery select disable jquery disable selection how to disable an option in select using jquery how to disable dropdown option in jquery jquery disable option by value jquery disable selector how to disable selet option jquery how to disable option in dropdown using jquery js enable select jquery disabled select jquery select box disabled in jquery disable option dropdown jquery jquery checkbox disables option for select box jquery checkbox disables option for selector select disable jquery jquery disable jquery css to disale select box jquery disable attribute disable select option jquery set disabled select jquery jquery select input by name and disabled disable all select option jquery jquery disable select option element jquery input type select disabled how to write a function that will disable a objects from a list of ids make select disabled jquery jquery select field make disabled enable option tag using jquery disable selected box jquery how to disable select tag in jquery select jquery disable prop flase jqury select and desable jquery select box disabled how to enable the select box in jquery how to make select box disabled in jquery jquery select enable disable deshabilitar select jquery select disabled jquery disable select on click jquery disable select and label for select jquery disable select in jquery disable selecting in select tag using jquery make option value disabled jquery nput[name= jquery set select box disabled select disabled false jquery set select disabled with jquery disable select box by jquery jQuery disable input, select jquery make select disabled jquery make all select disabled disable select tag in jquery disabled select in jquery jquery select disabled how to disable and enable select box in css jquery selector id and not disable disable select jquery select enable jquery jquery enable select set select disabled jquery jquery select desable disable select jquery $('#tType option:not(:selected)').attr('disabled', true); select disabled jquery html jquery disable select how to disable select box in jquery disable the select box using jquery
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source