vinbeak
09-07-2006, 09:04 AM
Hi
I am looking for a way to call JavaScript commands by using an <a> tag on an image. For example say I have this code:
<a href="#"><img src="img/print_button.png" alt="Print Button" /> Print</a>
How do I make it call something like
onclick="showPrintDialog();"
I maybe can't do this with an <a> tag so any help would be appreciated.
Thanks
I am looking for a way to call JavaScript commands by using an <a> tag on an image. For example say I have this code:
<a href="#"><img src="img/print_button.png" alt="Print Button" /> Print</a>
How do I make it call something like
onclick="showPrintDialog();"
I maybe can't do this with an <a> tag so any help would be appreciated.
Thanks