[thelist] JAVASCRIPT: confirmation dialog box that actually works!
.jeff
jeff at members.evolt.org
Thu Aug 29 11:45:11 CDT 2002
chris,
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Chris W. Parker
>
> i am creating a small script that as of now immediately
> creates an email and sends it. i'd like to add a
> confirmation box when the user press the submit button
> and ask them to verify the important information in the
> form.
>
> typing "javascript confirmation box" in google gives you
> a lot of results, but none of them seemed to work. they
> all continued to submit the form normally even if i
> clicked cancel. i want the form submission to just be
> canceled.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
do you understand how the return statement and cancellable event handlers work? give this a read:
JavaScript: The Point of No Return?!
http://evolt.org/article/thelist/17/8869/
good luck,
.jeff
http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/
More information about the thelist
mailing list