View Full Version : I need a form with changable text! HELP!

10-28-2005, 07:58 PM
I need a form that has text that can change when a link is clicked.

For instance, the form would say text1 and then you click a link and the text changes to text2. Any ideas? Thanks!

10-28-2005, 10:34 PM
<span id="change">Original text</span>
<a href="javascript:void(0);" onclick="this.form.elements['change'].innerHTML = 'New text';">Click Here</a>