Hi all,
i found this javascript that replace a form value with another
how can i change it so it uses a text link to put the new value into the form field instead of a button?
i tried a normal hyperlink but it didnt work
any ideas?
thanks
-c0lin
i found this javascript that replace a form value with another
<FORM name="myForm2">
<INPUT type="text" name="myText2" value="value1" size="20">
<INPUT type="button" name="change" value="Click to see new text!" onClick="document.myForm2.myText2.value='value2'">
</FORM>
<INPUT type="text" name="myText2" value="value1" size="20">
<INPUT type="button" name="change" value="Click to see new text!" onClick="document.myForm2.myText2.value='value2'">
</FORM>
i tried a normal hyperlink but it didnt work
any ideas?
thanks
-c0lin

Comment