+ 3
How to use input in JavaScript?
I have seen we can use input in prompt command of JavaScript can we input without prompt command.?
4 RĂ©ponses
+ 1
hereâs an example i wrote for you. itâs the same as SOUPTIK NATH explained.
https://code.sololearn.com/WIteUNirxVfR/?ref=app
+ 2
Make a input type text and make a submit button when the button is clicked extract the text from the text field
+ 1
Oh! thanks for help
+ 1
YES, an example as follows:
<input type="text">