WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 onbeforeunload, Dileepa Wijay, March 21, 2004
     Re:onbeforeunload, Guilherme Blanco, March 22, 2004
         Re:onbeforeunload, Dileepa Wijay, March 22, 2004
             Re:onbeforeunload, Guilherme Blanco, March 23, 2004
                 Re:onbeforeunload, Erik Arvidsson, March 26, 2004

Subject: Re:onbeforeunload From: Dileepa Wijay Date: March 22, 2004

I am getting the second prompt, the problem is how to get rid of the second prompt or to get the value of the second prompt true/false ?


From: Guilherme Blanco
Sent: March 21, 2004
Subject: Re:onbeforeunload

      function processClose() {
        var bValue = window.confirm( "do u want to close?" );
        event.returnValue = bValue;

And please check out if you're managing a window created by script method, otherwise, IE will ask a confirmation after it.

Gui Blanco


Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.

View All Messages
Back to WebFX