Give an example of JavaScript Print ?

 Posted by Akiii on 10/30/2012 | Category: JavaScript Interview questions | Views: 3195 | Points: 40

<input type="button" value="Print this Page" onclick="window.print();">

JavaScript automatically opens a print dialogue box so that users can print the page.

Thanks and Regards

| Alert Moderator 

Comments or Responses

Login to post response