How to break out of iFrame after action?

Discussion in 'HTML & Website Design' started by LiftBigEatBig, Nov 8, 2008.

  1. #1
    I'm loading an iFrame on my page. The iFrame contains a simple form. Once the user enters their email and clicks submit I need the following page to break out of the iframe and be displayed completely in the browser. I don't have access to the forms code. Is this possible? Thanks!
     
    LiftBigEatBig, Nov 8, 2008 IP
  2. ForumHog

    ForumHog Active Member

    Messages:
    58
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    93
    #2
    If you do not have access to the forms code this is not possible. If you do get your hands on the code post a reply with what language it is in and I will get back to you.
     
    ForumHog, Nov 8, 2008 IP
  3. LiftBigEatBig

    LiftBigEatBig Well-Known Member

    Messages:
    302
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    123
    #3
    Yea I will be unable to get the form code.

    However, I was thinking, can't a script be written that will monitor the contents of the iframe and then break out of the iframe into the main window if the contents change?
     
    LiftBigEatBig, Nov 11, 2008 IP