CSS Button onclick event href="#" onclick="
Posted on 2008-06-21
Ok this is really bugging me. How do you correctly call a procedure from the href="#" onclick="
eg I want to call
Protected Sub ABC()
from the onclick event of a css button
I have tried
<a class="button" href="#" onclick="ABC();"><span>GO</span></a>
but this doesnt fire the event. I can get a normal button to run the procedure using the onclick event but really want to use the css button to do the same thing.
Thanks in advance