I'm playing with an idea for a keypad login. My question is how can I make the disabled input behave like a regular, enabled input? I want the text to scroll as you click the buttons if the text is larger than the input length.
function setOne(){ document.getElementById('someText').value += "A"; }
function setTwo(){ document.getElementById('someText').value += "B"; }
<input id="someText" type="text" disabled="disabled">
<div>
<button onclick="setOne();">A</button>
<button onclick="setTwo();">B</button>
</div>
No jQuery please. Thanks You!