like this,

..................
...................
 var popup = window.confirm("Are you sure?");
                        if(popup.valueOf("true")){
                           open(URL,"_top");
                        }
..........................
....................

George Ter-Saakov wrote:

> 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

--
**************************************************
 Ugur KARAKAYA
 NOUS Bilgisayar Sistemleri A.S.
 NOUS Computer Systems Co.
 http://www.nous.com.tr/
 Unite for Java -> http://www.javalobby.org
**************************************************

S/MIME Cryptographic Signature

Reply via email to