Basic JavaScript Question:
Download Questions PDF

How to create an input box?

Answer:

Below line will help us how to create a Input box in JavaScript....

prompt("What is your name?");

Download JavaScript Interview Questions And Answers PDF

Previous QuestionNext Question
How to create a confirmation box? How to open a window with no toolbar, but with the location object?