Tuesday, November 23, 2010

How to Call print Dialog Box from JavaScript.

The Code segment show you, How to call print Dialog Box from JavaScript.

It is Very Simple, Just call window.print() function from java script
See Sample below…



<a href="JavaScript:window.print();">
<img src="set the image name" border="0"
width="17" height="17" align="middle" alt="Print Version" />
</a>

No comments: