dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Get Title of Inlineframe not on same server

  1. #1
    Join Date
    Nov 2004
    Location
    San Jose, CA
    Posts
    2

    Get Title of Inlineframe not on same server

    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.

    The site I am trying to do this on is http://www.splintermod.com/tha

    Thanks...

  2. #2
    Join Date
    Oct 2004
    Posts
    1,118
    I get a security error.
    And what did you interpret that to mean?

  3. #3
    Join Date
    Nov 2004
    Location
    San Jose, CA
    Posts
    2
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles