How to trap the URL of the page to which the user is navigating off from current page
I want that whenever a user tries to navigate away from my page, I be able to trap the destination URL. Whenever someone would want to navigate away, the window.onunload will fire up. But how to trap the target URL? Any suggestions?