You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Chris Wall <cw...@bea.com> on 2002/09/19 00:35:32 UTC

javascript confirm

Why doesn't this work?

<html:cancel onclick="return confirm('Cancel Record?');"/>

Thanks.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: javascript confirm

Posted by Melissa L Kelley <st...@stuology.net>.
On Wed, 18 Sep 2002, Chris Wall wrote:

Since you didn't give an error message to help say why it isn't working,
all I can say it to try this:

<html:cancel onclick="return window.confirm('Cancel Record?');" />


--> stu: www.stuology.net
It just no longer is plain simple safe fun
when it's the psycho chimp that has the ray gun
------------------------------------------------
Stuology -- A million monkeys can't be wrong



> Why doesn't this work?
>
> <html:cancel onclick="return confirm('Cancel Record?');"/>
>
> Thanks.
>
>
> --



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>