[thelist] JAVASCRIPT: confirmation dialog box that actually works!

James Aylard evolt at pixelwright.com
Thu Aug 29 11:51:00 CDT 2002


Chris,

> 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.

    A simplified example:

<form onsubmit="return(confirm('Are you sure?'));">

James Aylard




More information about the thelist mailing list