Sure - I just recently asked the same question and the method to do this is:
$(frameElement); // The iframe itself $(frameElement.parentNode); // This is the div tag containing the iframe mmch wrote: > > Is it possible to be able to close an iframe from within itself? > > I am using an iframe thickbox to upload an image. I would like to be able > to close the iframe/thickbox and refresh the page when the script > completes. > > Anyone got any ideas? > > Thanks > > Marc > -- View this message in context: http://www.nabble.com/Closing-a-thickbox-from-within-an-iframe-tf3220577.html#a8948409 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
