Can we make Print button without JavaScript? to open browser print window.
+6
A:
HTML has no built-in "print" action for an anchor tag or input button (or anything else), so JavaScript is your way. You could also include instructions for your users on how to print using File->Print or the other various alternatives.
Pablo
2009-11-12 05:08:56
A:
You could do it with a Java applet but javascript is simpler and cleaner.
Asaph
2009-11-12 05:09:12
A:
Not with straight HTML. You could do it with Java, ActiveX, etc, but those are even more to add than JavaScript.
phoebus
2009-11-12 05:09:58
+1
A:
Althought as @Pablo says there is no print functionality that can be used without javascript, here is something that will make it a little nicer just in case there was a user that had javascript disabled:
John Boker
2009-11-12 05:10:11
StackOverflow just does *not* like your link text. :)
Pablo
2009-11-12 05:11:40
you may be right, not sure how that happened.
John Boker
2009-11-12 05:41:37