I currently have this code:
<input id="doCheck" type="button" onclick="doCheck('a'); return false;" />
But I want to convert this to use an address link and not an input because I have created my own class btn and I want to use that.
<a class="btn" href="@(Model.NextUrl)" title="Go to next">>></a>
Is it possible to do this. To make the clicking on the link activate Javascript. Also can I stop Google from getting interested in the address?
sure, you can add the onclick to the anchor: