I have implemented the ThickBox Plugin and I am retrieving 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>
function PrintPage() {
window.print();
}
</script>
You'll have to specify a CSS print stylesheet which hides everything except the ajax retrieved content.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With