0
How do you make value attribute stay active after clicking on the input tag
I'm building a web based calculator . It allows you to input numbers using buttons . Each time you hit a button it calls a function which updates the value tag of the input tag but the problem is when you type into the input tag and edit the information you can no longer add values . Basically the buttons don't work . No online code samples available
2 Respostas
+ 1
Problem is solved now
0
Add 'readonly' attribute to the <input> element. It will prevent user from typing into it.
I think you need to add the code bit link in post Description. Otherwise nobody knows why your buttons aren't working.
https://www.sololearn.com/post/75089/?ref=app