Use the confirm() method; it's called and accepts the same argument (string)
as alert().

-----Original Message-----
From: George Ter-Saakov [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 23, 1999 1:17 PM
To: [EMAIL PROTECTED]
Subject: OT: Need javascript help.


Sorry for offtopic.

I need to display dialog box with two buttons "Yes" and "No" allow user to
chose.
alert shows only on button.

Thanks.
George.

___________________________________________________________________________
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