how to make and print records in javascript
Answers
Answered by
1
Answer:
Explanation:
JavaScript does not have any print object or print methods. You cannot access output devices from JavaScript. The only exception is that you can call the window.print() method in the browser to print the content of the current window
Answered by
0
Explanation:
function printData() { var divToPrint=document.getElementById("printTable"); newWin= window.open(""); newWin.document.write(divToPrint.outerHTML); newWin.print(); newWin.close();}
Hope this is helpful.. ❤
Similar questions