[jQuery] Re: Printing iFrame contents

2008-04-19 Thread C.Everson
On Sat, 19 Apr 2008 14:58:30 -0700 (PDT), fllados wrote: > 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(); )

[jQuery] Re: Printing iFrame contents

2008-04-19 Thread fllados
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(); sel