How to use jQuery to print a string to the printer -
How do I print a string for the printer using jQuery?
I have a print icon button on a page and I want to print a string on the printer. how can I do this?
I have finished using print.js -
// jQuery "printThis.js" plugin file and "PrintThis.css" style sheet function create print notifications (print button element, notification bar) {//, copy the devil, remove icon, add line break after date and then Print Worksx = $ (PrintButton Element). Parent (). mother-father (). Clone (); . X.find ("I") delete (); After x.find (". ReportedDate") ("& Lt; br \ & gt; & lt; br \ & gt;"); X.printThis ({loadCSS: "../ material / PrintThis.css"}); // CSS hidden buttons and right date returns aligns right; }
Comments
Post a Comment