I have modal popup of external site using jquery The external site is a login
After completion of the login the modal window will redirect to a site.
I want to: i) identify when the modal has redirected (login complete) ii) capture the modal url to acquire parameters from the url.
How do i do this in jquery methods & javascript