disable option dropdown jquery
//disable by value
$("#ddlList option[value='jquery']").attr("disabled","disabled");
//disable by text
$('#ddlList option:contains("HTML")').attr("disabled","disabled");
Also in JavaScript:
- cancel settimeout
- how to add carousel in javascript
- jsdoc doesn't see all folders
- npm windows shocut
- jquery get value by name
- javascript replace ios apostrophe
- toggle function react js
- javascript infinite loop
- get screen width javascript
- openssl error Subject does not start with '/'
- jquery wait for all ajax requests to complete
- javascript open link in new tab
- wait for page load js
- could not find a declaration file for module in react project
- node js console.table
- debug bar laravel unninstall
- angular s easy examples
- react redux counter tutorial
- hasownproperty javascript
- js add class
- first repeated character in a string javascript
- jquery select2 multiple select all
- javascript reverse string without reverse method
- how to run javascript in terminal