<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>
|