Prompt() function used to send messages to users requesting for text input - Web Technologies

Q.  In a Javascript Application what function can be used to send messages to users requesting for an text input?
- Published on 16 Jun 15

a. Display()
b. Alert()
c. GetOutput()
d. Prompt()

ANSWER: Prompt()
 
This function is used when we want to input text in javascript.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)