Horje
howt to disable a select tag using js Code Example
howt to disable a select tag using js
document.getElementById("one").onchange = function () {
  document.getElementById("two").setAttribute("disabled", "disabled");
  if (this.value == 'car')
    document.getElementById("two").removeAttribute("disabled");
};




Javascript

Related
js select disabled Code Example js select disabled Code Example
mktime in js Code Example mktime in js Code Example
javascript clear all intervals Code Example javascript clear all intervals Code Example
placeholder in angular 9 select Code Example placeholder in angular 9 select Code Example
json parse stringified array Code Example json parse stringified array Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8