How to capture browser close event?

Viewed 49082

I want to capture the browser close event in my application and show a confirm box to user. I am using JSF 2.0 and richfaces 4.0.

4 Answers
Related