I have one textbox & button. On button click event I have too show some keyboard value (example I have to show number 2 into a textbox)
How can I do a javascript code which will automatically press a key & show a text into a textbox.
I tried with below code. Suggest me something.
Thanks in advance.
- "text" id="myInputTextBoxId" value="">
- type="button">Generate Text


Nilesh ShahRank #42 · 34.2K reputationPosted Mar 24, 2017, 8:36 AM EDT
Ayan RoyRank #7,298 · 244 reputationPosted Mar 26, 2017, 10:48 PM EDT
Rupesh KahaneRank #136 · 16.4K reputationPosted Mar 27, 2017, 9:00 PM EDT