Give an example of JavaScript Print ?

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

<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
Akiii


| Alert Moderator 

Comments or Responses

Login to post response