SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Dec 2007
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    iframes remote src

    Hello,

    I have a main page with an iframe in it. The user loads a page from another server in the iframe and then follows the links in the loaded page.
    When a link in the iframe is pressed and the new page loads, a "onload" event is triggered.

    Is there a way in knowing what the address of the new page is ?

    As I understand I cannot read iframe.document.src for security reasons...
    is there another way to find out what this href is ???

    Thanks

  2. #2
    SitePoint Member
    Join Date
    Dec 2007
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    c'mon guys.... please, an idea....

  3. #3
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,729
    Mentioned
    104 Post(s)
    Tagged
    4 Thread(s)
    There is no other way to know what's happening there.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


Bookmarks

Posting Permissions

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