Computer Science, asked by neelpuntambekar, 8 months ago

how to make and print records in javascript

Answers

Answered by siddharthashakya39
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 Sroy24711
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