Forum Moderators: open

Message Too Old, No Replies

parent.document.referrer

doesn't work.

         

glitch00

1:19 am on Oct 7, 2008 (gmt 0)

10+ Year Member



I tried researching everywhere but couldnt find anything. We all know that parent.document.referrer is supposed to get the referrer outside the frame. What is the correct syntax of making this happen, providing that we cannot edit the parent code.

Thanks!

daveVk

2:10 am on Oct 7, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If the frame is from a different domain than the containing page, security will prevent you from getting to parent.document properties.

Welcome to the forum.

glitch00

11:17 am on Oct 7, 2008 (gmt 0)

10+ Year Member



Thanks daveVk. It's very much appreciated.