Alert box | Sololearn: Learn to code for FREE!

+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!!

8/5/2017 4:10:18 PM

Darwin

16 Answers

New Answer

+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.....

+1

https://code.sololearn.com/WO2Mz12InjfP/?ref=app https://code.sololearn.com/WlSiILvqHwd9/?ref=app

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

https://code.sololearn.com/WyIzt9JC05J3/?ref=app

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...