[thelist] Javascript: OK? Cancel!

Douglas Williams klenzade at i-55.com
Thu Feb 14 05:41:00 CST 2002

try this...

if (confirm('Are you sure?'))
    do form submit here

Just stick that in the function and call it from onSubmit or however you
want to call it.

----- Original Message -----
From: "Frank" <framar at interlog.com>
To: <thelist at lists.evolt.org>
Sent: Thursday, February 14, 2002 5:33 AM
Subject: [thelist] Javascript: OK? Cancel!

> Dunno if this can be done - I want to pop up a javascript alert with
> an 'OK' and 'Cancel' button. Of course the cancel button lets the
> page just kinda sit there, whereas 'OK' proceeds to submit the form.
> I know the functionality is doable - but is the dialogue box?
> --
> Our best destiny, as planetary cohabitants, is the development
> of what has been called "species consciousness" - something over
> and above nationalisms, blocs, religions, ethnicities.
> Frank Marion                      Framar Studios
> frank at framarstudios.com           http://www.framarstudios.com
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !

More information about the thelist mailing list