javascript set select disabled
document.getElementById("one").onchange = function () {
document.getElementById("two").setAttribute("disabled", "disabled");
if (this.value == 'car')
document.getElementById("two").removeAttribute("disabled");
};
Also in JavaScript:
- javascript get the last element of json
- js remove background image
- get random element from array js
- ISS proxy express
- map in javascript
- js onscroll event
- javascript associative array
- jquery button remove disabled attribute
- js key in dict
- download print.js rtl
- how to check if a number is even or odd in javascript
- javascript is not null
- js class
- replace white spaces javascript
- how to remove session data on tab close in redux\
- jquery close bootstrap model
- how can use css grandchild selector on js
- override function javascript class
- data in table when i click the table link in open table in another jquery
- jquery watch checkbox change
- form validation for email in js
- ricavare una lettera di una stringa in javascript
- how to go to next line in javascript
- minvalue validation react admin