Thursday, January 1, 2009

Javascript Prompt Box

Prompt uses a text field to enter a value. It also has 'OK' and 'CANCEL' buttons.

The text input to the prompt can be stored in a variable.

Let us look at the example that simply displays a prompt box and diplays an alert box with a message. The message displayed in the alert box will depen upn the user input in the prompt box.
http://www.referencedesigner.com/tutorials/js/js_9.php

No comments: