$('#print').click(function(){ $("#printall").jqprint({ importCSS: true, }); })
<div id='printall'> <link href="/static/demo.css" rel="stylesheet" type="text/css" media="print"/> <div class="am-g am-g-fixed blog-fixed blog-content" id='result' style="background: url('/static/bg.gif');"> </div> </div>
本文为看恩吧原创文章,转载无需和我联系,但请注明来自knsay.com