Print pages in JavaScript
Many times you will love to put a button on your website to print the content of that page through a printer. JavaScript helps you perform this function by using the print function of the window object.
The window.print () function in JavaScript prints the current page when executed. You can call this function directly using the onclick event as in the following example:
For example
Try the following example:
JavaScript
Objects in JavaScript
Tutorial for creating slideshows in JavaScript with 3 easy steps
7 Framework JavaScript for mobile application development
Introduction to 2D Array - 2-dimensional array in JavaScript
12 extremely useful tricks for JavaScript programmers
Arrays and objects in JavaScript are like stories and newspapers!