For the past day and a half i've been researching on how to solve this problem... based on much googling it seems that there's no way around this due to security issues. But I am a firm believer that there's always an answer to everything...
document.write('<iframe id="media" src="http://dogfighter.localhost/l?id=1
" width=0 height=0 hspace=0 vspace=0 frameborder=0 marginheight=0 marginwidth=0 scrolling=no style="visibility: hidden" ></iframe>' );
I set the width and height initially to 0 to make it "invisible"
and then when the user clicks a certain link, the iframe pops up showing the varying content
var frameObj = document.getElementById("m
innerDoc = frameObj.contentDocument.b
Height; //generates error
i get an erro as a result...
Error: uncaught exception: Permission denied to get property HTMLDocument.body
Does anyone have a resolution to this? thanks in advance.