asdf_enel_hak asdf_enel_hak - 1 year ago 155
Javascript Question vs window.location

how to sync and window.location?

Answer Source

This is how you set the parent of the frame (top) to the location of the frame document...

top.location = self.location;

Of course, this code must be executed within the iframe, and is succeptible to the Same-Origin Policy.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download