+ 3
Alert box
how to input the user input in the web page and not in the pop up box..help me with this...please!!
16 Answers
+ 4
Here we go! There are numerous other ways to do that job, here's one. No the easiest one, but you will probably find it usefull if you wanna work in web dev ;)
https://code.sololearn.com/WZ6zd0TDK947
+ 2
Use the input tag then use the .value to get what the user typed 😊
+ 2
Publish your code in the code playground so we can look at it 😉
+ 2
Working on it! I will add some comments to the code 😉
+ 1
Once you have got what the user typed stored in a variable, you can display it in almost anything using .text or .html
+ 1
very very thanks bro.....
0
thank u
0
then how to print the input in web page..
0
but an error occurs as input is not allowed
0
how can I get the user input in javascript
0
have a watch that!
0
it is displayed in the pop up menu and not in the web page
0
I'm a beginner
0
have u worked out bro...