-I have a button: -I would like to use JavaScript to disable it: document.getElementById("input-datestart").disabled = true; -CSS:
input:disabled {
background-color: #fff!important;
color: #000;
}
Text color [color: #000;] While it works on my computer's browser, it doesn't work on my tablet. Please refer to the image below view image description here