Mass_update - print log

This commit is contained in:
“VeLiTi”
2024-03-29 07:38:18 +01:00
parent 712fdfca26
commit bf09deef7f
2 changed files with 15 additions and 1 deletions

View File

@@ -1114,3 +1114,16 @@ function sortTextVal(a, b) {
return 0;
}
//------------------------------------------
// Print DIV
//------------------------------------------
function printDiv(div) {
var divContents = document.getElementById(div).innerHTML;
var a = window.open('', '', 'height=500, width=500');
a.document.write('<html>');
a.document.write('<body > ');
a.document.write(divContents);
a.document.write('</body></html>');
a.document.close();
a.print();
}