Hello, Any ideas why this doesn't work in IE7? The window opens, but the page source is <html></html>. Works fine in FireFox.
$("#print-preview").click( function() { var printPreviewWin = window.open("", "printpreview", "location=0,status=0,scrollbars=1"); $('[name="print-this-listing"]:checked').parents("div.listing").clone().appendTo( $(printPreviewWin.document.body) ); });