Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End get iframe title and echo in html

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #147970
    Hamed
    Participant

    hi,
    i load my iframe src from address bar like:
    http://site.com/demo.php?go=http://google.com

    <!DOCTYPE html>
    <html>
    <head>
        <title></title>
    </head>
    <body>
    <iframe src="<?php echo $_GET["go"];?>">
    <p>Your browser does not support iframes.</p>
    </iframe>
    </body>
    </html>
    

    now i want to get iframe title and echo it in demo.php title tag… is it possible?

    #148007
    Senff
    Participant

    No, you can’t really interact with the content within an iframe I think (meaning you can’t look at whatever is in the iframe and take data/values/whatever from it to use in your master page).

    #148070
    Hamed
    Participant

    thanks for your respond :(

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.