Grow your CSS skills. Land your dream job.

get iframe title and echo in html

  • # August 23, 2013 at 1:40 pm

    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?

    # August 24, 2013 at 5:33 am

    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).

    # August 25, 2013 at 12:28 am

    thanks for your respond :(

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".