I have tried for the longest time and searched around to figure out how to get the document's title in an inline frame that is not on the same server as mine. When I try to access the convential way, document.getElementById("frameid").document.title, I get a security error. So I then tried a readonly object, document.getElementById("frameid").documentContent//I think that's what it's called//.title
and many other variations.
The only other way I can think of doing this would be reading the html document into a string and then searching for the title tags, but I also want to know when it was last modified.
I figured that it gave that error because it would be a potential security risk if you were to be able to access another pages title on another server and be able to change it since it isn't jus t a readonly variable. I was hoping thta there was another way to get the title without running into this problem. Thanks.
Bookmarks