Mondeo Posted November 11, 2006 Posted November 11, 2006 (edited) I've put a label on a form and i need to know when someone clicks on it. But it has no click event? Does anyone know if I can add a click event handler or suggest a different control to use, I only need to display the text BACK> and have it clickable Thanks UPDATE: I've sorted it, I used a hyperlink control with javascript:history.go(-1) in its NavigateURL property Works fine! Edited November 11, 2006 by Mondeo Quote
Agent707 Posted November 14, 2006 Posted November 14, 2006 I use this all the time. You can apply styles to it to make it look like what you want it to also. <input type="text" value="blah" readOnly="true" onclick="alert('foo');" /> Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.