$("#myIframe").load(function() { var obj = $(this) var element = $("div", obj); alert(element.text()); });
the example above should give you a starting point. On Thu, May 28, 2009 at 5:29 PM, Joe L <jala...@gmail.com> wrote: > > Hello All! > > I'm working on a project and within a document I have content being > loaded into an iframe. > When a user clicks on an item in the iframe, a pop-up div is loaded > using the facebox plugin but it's obviously contained by the iframe. > > Is there any way that I can pull that element out of the iframe into > the parent document? Or at least position it so it looks like it's > part of the parent document and not the iframe? My reasoning for this > is sizing and positioning. I want to expand the size of the facebox > div and position it over top of some of the parent document elements > but, since it's within the iframe, I'm limited to the size of the > iframe and positioning is limited to being within the iframe. > >