dcsimg

Lesson 6: The Script and Its Effect V



The Script

<FORM>
<INPUT TYPE="submit" onSubmit="parent.location='thanksalot.html'";>
</FORM>

HINT: If this effect does not work, try setting "parent.location" to "location.href".

The Script's Effect

     Click on the button thinking it's the submit button for a form.

 

Back to the Index Page