did you try javascript's Confirm method?

Luke Nguyen wrote:

> Hello,
>
> I've recently started using Javascript and servlets and was wondering if there was a 
>way to open an alert box with TWO buttons (one for "OK" and the other for "Cancel").
>
> I want to verify a client's submission of a form so that when the user clicks on 
>submit, a little window with all his information is displayed and queries the user to 
>submit or not by pressing "Ok" or "Cancel".
>
> Can this be done with something like the prompt method but without the text field?
>
> Any help would be greatly appreciated.
>
> Luke Nguyen
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to