SyntaxFix
Write A Post
Hire A Developer
Questions
I use this.
var iframe = parent.document.getElementById("theiframe"); var innerDoc = iframe.contentDocument || iframe.contentWindow.document; var currentFrame = innerDoc.location.href;