Forum Moderators: mack
What is the code to do this? I have searched everywhere and have found nothing remotely close to makeing a hyperlink out of a button with an ID name.
Thanks
<a href="int_emp_edit.asp?recordId=<%=(intUser.Fields.Item("recordID").Value)%>">
Edit this record</a>
see if you can edit this link to work for you.
hope this helped!
You can use client side javascript on the button:
<input type="button" value="Submit" id="whatever" onclick="window.location.href=('linkedpage.asp?var1=<%=var1%>&var2=<%=var2%>');">
or you could use a form to pass the variables (this is a better method because it does not require Javascript to work).
<form name="whatever" method="post" action="linkedpage.asp">
<input type="hidden" name="var1" id="var1" value="<%=var1%>">
<input type="hidden" name="var2" id="var2" value="<%=var2%>">
<input type= "submit" name="button" value="submit">
</form>