
|
|
||
Attribute for
<FORM ...>onResetonResetonResetThis code checks with if the user really wants to reset the form:
<FORM
ACTION="../cgi-bin/mycgi.pl"
onReset="return confirm('Do you really want to reset the form?')"
>
<INPUT TYPE=TEXT NAME="query">
<INPUT TYPE=SUBMIT>
<INPUT TYPE=RESET>
</FORM>
This gives us this form: Copyright Idocs, Inc. Written by Miko Sullivan |
||
| About the NetVisits, Inc Network | Advertise Developer Tutorials hosted by HostGator. Copyright ©2007 NetVisits, Inc Network. All Rights Reserved. Privacy Policy. |