Transfering Data from Iframes ? Is it possible ?

Discussion in 'HTML & Website Design' started by xkaser101, Jul 28, 2011.

  1. #1
    Hello,
    I was hesitate if this should be posted in the HTML forums or the PHP forums but I think This is the right place.

    I have an Iframe page with an image button the href for this button is "?id=xxx"

    But when a user clicks the button inside the Frame they are taken to "?id=xxx" Inside the Iframe page Is there any possible way to make the mother page Direct to that address instead ?

    To make it easier is there any way to transfer data from an Iframe to the original page ?

    Thanks in advance,
    Kind Regards,
    Issa Shamoun.
     
    xkaser101, Jul 28, 2011 IP
  2. Trix

    Trix Peon

    Messages:
    192
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    0
  3. JohnnySchultz

    JohnnySchultz Peon

    Messages:
    277
    Likes Received:
    4
    Best Answers:
    7
    Trophy Points:
    0
    #3
    you can add a target attribute with _parent or _top value...

    <a href="somepage.php?id=xxx" target="_parent">...
    HTML:
    or
    <a href="somepage.php?id=xxx" target="_top">...
    HTML:
     
    JohnnySchultz, Jul 29, 2011 IP
  4. xkaser101

    xkaser101 Peon

    Messages:
    84
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Many thanks ! did not know it was that simple !

    Thanks again works fine :)
     
    xkaser101, Jul 29, 2011 IP