PDA

View Full Version : Is there a way to check for the "X" (close browser)?



davisty
12 Jun 2012, 11:11 AM
Is there a way to check to for the "X" (close browser)?

Thank You

scottmartin
12 Jun 2012, 1:17 PM
Have a look at window.onbeforeunload

This would be JS related and not Ext

Scott.

davisty
13 Jun 2012, 5:33 AM
Thanx Scott. Looks like that may do the trick