I had to make the same for DIV's and the solution I've got was: 1) Use window.open (var w = window.open('','name','width=X,height=Y'); 2) Copy the html to the new window ( w.document.write($(N).html()); w.document.close(); ) 3) The onload for the body tag should say something like "print(); self.close();"
Hope this helps you Fer On Apr 19, 8:56 pm, "C.Everson" <[EMAIL PROTECTED]> wrote: > Hi, > > Is it possible to use jQuery to print ONLY the contents of an iFrame? > > I'm trying to add a PRINT button to a jQuery lightbox, but not getting > anywhere. If I use a Javascript:print() then the entire browser window is > printing. > > Thanks! > > Chuck