[OCLUG-devel] JavaScript - An enhanced confirmation dialog box

Doug Jolley ddjolley at gmail.com
Thu Jul 21 09:59:22 PDT 2005


> Both buttons are set to return 'true' when clicked. Shouldn't the cancel
> button return 'false'?

Thanks, Tim.  You're absolutely right.  That's just a fowl up on my
part.  However, the point is that the action of returning true and
submitting the data doesn't wait for the user to click EITHER button. 
It just occurrs automatically immediately after the window is opened. 
So, while you have definitely identified a problem (and I very much
appreciate that) it's not the one I'm looking for.

I'll have a look at the scriptasylum and see what they have to offer.
Thanks.
      
      ... doug


More information about the OCLUG-devel mailing list