I am new in the web development world and I had the following question
I would like to implement a button in HTML5 that will Print an Image ( and not the whole HTML Page)
I tried the code in this question Print image on website
but I got an unhandled exception :
0x800a138f - Microsoft JScript runtime error : Umable to get value of the property 'innerHTML':object is null or undefined
can anyone guide me how to do this ?
Thanks!
Edit : When I say print , I mean prininting on a physical printer , and not displaying on the screen