views:

744

answers:

1

I have implemented the ThickBox Plugin and I am retreiving the content from using an AJAX request. The print link is printing the page behind the Thickbox. Is there a way to print the actual content?

I am using the following anchor tag and javascript link:

<a onclick="PrintPage()">Print</a>

javscript:

    function PrintPage() {
        window.print();
    }

</script>
+3  A: 

You'll have to specify a CSS print stylesheet which hides everything except the ajax retrieved content.

altCognito
not sure exactly how to do this.
Xaisoft