PrintArea 介绍
Prints a specified element.
This is a modification to jPrintArea
(http://plugins.jquery.com/project/jPrintArea). I found that jPrintArea,
although a great starting idea and starting point, was lacking. In my case the
iframe was not being removed from the dom, as the wait() method was causing a
javascript error. In my first attempt at improving the initial plugin I used a
setTimeout to remove the iframe, however, if a timer is used to remove the
iframe, and the print or cancel is not chosen prior to the removal of the
iframe, the browser would hang. Hope this is useful…
Use
$(selector).printArea();
PrintArea 官网
http://plugins.jquery.com/project/PrintArea
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。