$(document).ready(function () { $('#btn_print').click(function () { var tbl = $('#tbl_printbox').html(); var w = window.open('', 'pactrak', 'width:1000,height:500'); w.document.write(tbl); w.print(); return false; }); });
window.location.href = 'your page';
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)