Re: confirm before submit
by "Ryan Fischer" <ryan(at)gigabee.com>
|
| Date: |
Fri, 21 Dec 2001 01:58:52 -0500 |
| To: |
<CHarris(at)checkfree.com>, <hwg-servers(at)hwg.org> |
| References: |
ckfr |
| |
todo: View
Thread,
Original
|
|
You wrote:
> is there an easy way to have a 'are you sure' pop up prior to
submitting a
> form?
This is more appropriate for hwg-languages, or hwg-techniques, but
whatever. ;)
Anyway, try something like this:
<form onsubmit="return confirm('Are you sure?')">
...
<input type="submit" value="Submit">
</form>
--
-Ryan :: ICQ - 595003 :: GigaBoard - http://www.gigaboard.net/
HWG: hwg-servers mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.