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
Social Sciences,
4 months ago
Science,
4 months ago
Accountancy,
4 months ago
English,
8 months ago
English,
8 months ago
English,
1 year ago
Math,
1 year ago