Is there any way to put an onclick event into image? I tried with a button and the call to the function is working, but I wanted to use an image.
I tried something like:
<a href="#">
<img src="imagens/search.png" onclick="ocultaForm()">
</a>
However, it is not running the hidden functionForm (), it only redirects to #