InterviewSolution
Saved Bookmarks
| 1. |
Which is the function in JavaScript that will print the current page in JavaScript?(a) print()(b) printcurrent()(c) print(now)(d) print(this) |
|
Answer» The correct answer is (a) print() For explanation: The print() method prints the contents of the current window. The print() method opens the Print Dialog Box, which lets the user to select preferred printing options. |
|