Posted By

primitiveshaun on 04/15/11


Tagged

basics


Versions (?)

Prompt


 / Published in: JavaScript
 

Displays a popup message requesting user input

  1. firstname = prompt ("What is your first name?",
  2. "Enter name here");

Report this snippet  

You need to login to post a comment.