<SCRIPT FOR="cmdClickMe" EVENT="onClick" LANGUAGE="VBScript">

MsgBox "A simple example of VBScript in action."

</SCRIPT>


Modify the document adding the scripting lines as shown in the light shading below:

<HTML>

<HEAD>

<TITLE>Working With VBScript: Exercise 1</TITLE>

<SCRIPT LANGUAGE="VBScript">

<!-- Instruct non-IE browsers to skip over VBScript modules.

Sub cmdClickMe_OnClick

MsgBox "A simple example of VBScript in action."

End Sub

-->

</SCRIPT>

</HEAD>

<BODY>

<H1>Your First VBScript Exercise</H1>

<P> By utilizing VBScript you can give your Web pages actions. 

Click on the button below to see what we mean. </P>

<FORM NAME="frmExercise1">

<INPUT TYPE="Button" NAME="cmdClickMe" VALUE="Click Me">

</FORM>

</BODY>

</HTML>