Previous Chapter's Examples-|-Next Example-|-Return to Chapter Listing

Example 3.1:
Two Simple Scripts



This button calls the alert() built-in function:



This is the script we used: <SCRIPT LANGUAGE="JAVASCRIPT"> <!-- document.write("This document last modified on: ") document.write(document.lastModified) //--> </SCRIPT> <P> This button calls the alert() built-in function: <P> <FORM> <INPUT TYPE="button" NAME="AlertButton" VALUE="Click here" onclick="alert('You just clicked the button')"> </FORM>
Previous Chapter's Examples-|-Next Example-|-Return to Chapter Listing