javascript disable input
//javascript disable
document.getElementById("id").disabled = true;
//javascript enable
document.getElementById("id").disabled = false;
//jquery disable
$('#id').attr("disabled", true);
//enable
$('#id').attr("disabled", false);document.getElementById("myText").disabled = true;// <input id = "myText"/>
Also in JavaScript:
- for in loop javascript
- javascript get unique values from key
- Unexpected end of JSON input while parsing near
- jquery multiple div click
- react redux counter tutorial
- jquery scroll to top of div animate
- express js
- json introduction
- how to make a inventory in js
- string and charater alphabet order
- react native textinput not show cursor
- stackable in amcharts 3
- javascript on scroll change nav color
- how to make a factorial function in javascript
- javascript check if argument is passed
- jquery add contenteditable="true"
- mv multiple directories
- python format json file
- hide checkbox jquery
- chartJs height
- replace array element javascript stack overflow
- webpack react proxy not working
- how to host a react website
- js get mic level