Skip to content Skip to sidebar Skip to footer

Printthis Jquery Plugin Issue In Google Chroome

I am using Jquery plugin PrintThis.js and jquery-1.7.2.min.js to print a specific div of my web page. It works fine in Firfox and IE. But unfortunately its not working on Google Ch

Solution 1:

I find the following code to work with my chrome installation (version 32.0.1700.102 m) and printThis v1.3.

JS:

$(function () { 
$("input:button").click(function () {
$("#print").printThis();
});
});

HTML:

<body>
<input type="button" value="print" />
<div id="print">
thisis print area, it can be everything. thisis print area, it can be everything.thisis print area, it can be everything. thisis print area, it can be everything.
</div>
</body>

Here's a fiddle where I receive the successful result: http://jsfiddle.net/NetsydeMiro/dS6qK/

Perhaps it's an issue with the version of printThis that you're using?

Let me know if this fiddle works for you.

Post a Comment for "Printthis Jquery Plugin Issue In Google Chroome"