Hi,
The onUnload event is triggerred both when a user clicks the 'Refresh' button(post back) as well as when the user clicks the 'X' (close browser)icon on the browser.
I have to build an application in which the page may post back while drop-downlist selected index change event occurs.I need to pop up confirm box only when the browser is closed,but now in post back also the event will trigger.
can any one advise a method to trigger unload event only when browser is closed.
Thanks in advance.........