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