in tomcat webapps folder contain 1 pdf need button press new window show file , print option open using javascript possible or other way?
function print() { var file = window.open('http://url/to/pdf'); file.print(); } <input type="button" value="print" onclick=print()>
Comments
Post a Comment