Lesson 22: The Script and Its Effect



The Script

<FORM>
<INPUT TYPE="button" VALUE="Jump!" onClick="document.jj.src='up.gif', window.status='Put me down!'; return true">
<INPUT TYPE="button" VALUE="Stop" onClick="document.jj.src='down.gif'; window.status='Thank you!'">
</FORM>

<IMG SRC="down.gif" NAME="jj" ALT="Click to make me work out">

The Script's Effect

Click to make me work out

 

Back to the Index Page