function PrintElem(elem) {
Popup($(elem).html());
document.getElementByClass('purchasprint').style.display = 'show';
}
function Popup(data) {
var mywindow = window.open('', 'Print Expense Invoice',
'height=600,width=1000');
mywindow.document.write(data);
mywindow.document.close();
mywindow.focus();
mywindow.print();
mywindow.close();
return true;
}
Here is my script i'm trying to remove or modify date formet of header where date is placed. i have tried lot of way but i'm stuck on this any suggestion?