How to Print a Page Using JQuery?

Print a page using jQuery,Print specific element using jquery,jQuery Plugin To Print Any Part Of Your Page,Window print() Method,How to print a part of my page using jQuery,Print DIV content by JQuery,Print a Part of Page using Javascript

print-a-page-using-jquery.html

<html>
<title>Print a page using jQuery.</title>
<head>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<meta charset="utf-8">
<title>Print a page using jQuery</title>
</head>
<body>
<div>
<h2>Print a page using jQuery.</h2>
<a class="printPage" href="#">Print</a>
</div>
<script>
$('a.printPage').click(function(){
window.print();
return false;
});
</script>
</body>
</html>

 

Demo | Download Code