Changes

Jump to: navigation, search

JavaScript Window Object

8 bytes added, 18:31, 10 May 2007
Displaying Message Box Dialogs
<input type="button" value="Show Confirmation" onclick="showConfirmation()" />
</form>
 
</pre>
* '''prompt''' - designed to enable information to be obtained from the user. The dialog conists of a message to the user, a text input field for the entry of data and OK and Cancel buttons. The ''prompt()'' method takes the message to be displayed as an argument and retruns the value entered by the user:

Navigation menu