Re: BROWSER CLOSE

2007-01-23 Thread Mikolaj Rydzewski
Kranti wrote: I am working on a struts based application. I need to meet a special requirement that is when user clicks the X button on the browser the browser should not close immediately rather we should show a confirm box. if user says yes in the confirm box then only browser should close.

Re: BROWSER CLOSE

2007-01-23 Thread Kranti
Hi, did you meant the javascript function onunload in tag if yes, i guess we will get the problem. means i just logged into application inside the welcome page if we write onunload in BODY tag. from welcome page i want to move to settings page then also onunload will gets called and ask for "y

RE: BROWSER CLOSE

2007-01-23 Thread bjorn.de.bakker
Use window.onunload or windows.unload or sth like that. -Original Message- From: Kranti [mailto:[EMAIL PROTECTED] Sent: dinsdag 23 januari 2007 9:04 To: user@struts.apache.org Subject: BROWSER CLOSE Hi Guys, I am working on a struts based application. I need to meet a special requiremen