SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    if ($zee == "Guru") { $zee--;}
    Join Date
    Nov 2005
    Location
    Karachi - Pakistan
    Posts
    1,133
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Is this Possible ? Iframe to Scrap Source

    Hi

    I want to know if it is possible.
    I have a main page, say it is PAGE A.

    PAGE A loads PAGE B in an IFRAME. Is there a possibility that PAGE B can scrap some data from PAGE A ?

    Please guide

  2. #2
    SitePoint Zealot
    Join Date
    Aug 2008
    Posts
    123
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you cannot access from a frame to main page content
    I think you even cannot access from main page to a frame if they do not share the same domain

    can suggest only one way - Page B (that is opened as frame from A) gets referrer information (document.referrer, which points to Page A), opens url from referrer and gets desired info. Hope this will work.


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
  •