Luke,
Use the confirm () method. It will provide the functionality you're looking
for.
Regards,
Brian
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Luke
Nguyen
Sent: Wednesday, June 02, 1999 5:32 PM
To: [EMAIL PROTECTED]
Subject: OffTopic: Javascript alerts
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