Dialog Box Demo : JavaScript DHTML examples (example source code) » Window Browser » Dialog

JavaScript DHTML














Java Products
Java Articles
JavaScript DHTML Home  »   Window Browser   » [  Dialog  ]   

 
Dialog Box Demo

Please note that some example is only working under IE or Firefox.


/*
Mastering JavaScript, Premium Edition
by James Jaworski 

ISBN:078212819X
Publisher Sybex CopyRight 2001
*/
<HTML>
<HEAD>
<TITLE>Dialog box demo</TITLE>
</HEAD>
<BODY>
<FORM>
<INPUT TYPE="BUTTON" VALUE="Alert"
 ONCLICK="alert('An alert dialog box.')">
<INPUT TYPE="BUTTON" VALUE="Confirm"
 ONCLICK="confirm('A confirm dialog box.')">
<INPUT TYPE="BUTTON" VALUE="Prompt"
 ONCLICK="prompt('A prompt dialog box.','Type something!')">
</FORM>
</BODY>
</HTML>


Related examples in the same category
1.  Displays and monitors the most used dialog boxes
2.  Dialog in JavaScript
3.  Open a dialog window
4.   String Object s Length Document.Location Properties confirm and input dialog
5.   Working with the Alert Confirm and Prompt Methods
6.  Alert box dialog with line breaks
7.  Button click to display dialog
8.  Pop up Window centred
9.  Display a confirm box dialog
10.  Display a prompt box dialog
11.  Confirm Dialog Box
12.  The Prompt Dialog Box
13.  Document for the Modeless Dialog Box
14.  The Final Script
15.  User input
16.  Yes No Confirmation
17.  Non string parameter for alert
18.  Alert Window
19.  Main Page for show Modeless Dialog
20.  Document for the Modal Dialog
21.  Main Page for show Modal Dialog
22.  Create a pop up
23.  Alert Dialog
24.  Prompt Input Dialog








Home| Contact Us
Copyright ?2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.