Hi there

I use the following form to call a javascript function:
<form>
<input type="hidden" size="25" name="txtref" value="<%=oRS("circuitref")%>" />
<input class="mybutton" type=button onClick="cirRef(txtref.value)" value="<%=oRS("circuitref")%>" />
</form>
Is this possible to call the same function from a linK?
I've tryed the following code but it didn't work, any ideas please?
<a href='javascript:cirRef(<%=oRS("circuitref")%>)'> <%=oRS("circtref")%></a>

Thanks