www.webdeveloper.com
Results 1 to 4 of 4

Thread: iframe url

  1. #1
    Join Date
    Dec 2010
    Posts
    3

    iframe url

    I created a iframe with src yahoo.com when ever the user browse in iframe i want to get the url of the page which he visited. any help is appreciated

    Thanks

  2. #2
    Join Date
    Dec 2002
    Location
    St. Louis, MO, USA
    Posts
    1,582
    I seriously doubt it can be done.

  3. #3
    Join Date
    Mar 2007
    Location
    Canada
    Posts
    99
    have you tried this: http://stackoverflow.com/questions/3...-iframe-in-php


    parent.location.href;

    or

    parent.document.URL

  4. #4
    Join Date
    Dec 2002
    Location
    St. Louis, MO, USA
    Posts
    1,582
    Someone has recently asked the same question. I suggested both of those, and according to this person, they don't work cross-domain.

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