www.webdeveloper.com
Results 1 to 2 of 2

Thread: [RESOLVED] how to refer to an iframe's parent doc?

  1. #1
    Join Date
    Apr 2009
    Posts
    77

    resolved [RESOLVED] how to refer to an iframe's parent doc?

    Hi all

    How can I make a form submission inside an iframe (iframe submitting to itself) cause it's wrapper a <div>, in the iframe's *parent doc*, to get its CSS display: set to 'none'? Is there a way to refer to an iframe's parent with JS or HTML?

    Or how would you approach this? I want to use an iframe rather than a JS popup window if possible.. but will relent if utterly necessary.

    thanks
    -Govinda

  2. #2
    Join Date
    Apr 2009
    Posts
    77
    turns out all I needed was:
    onClick="parent.removeecard();
    I was missing the
    parent.
    part of that.

    -Govinda

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