buttons and textboxes

liunx

Guest
<input type="button" value="butontext" name="Button" style="FONT-FAMILY: Courier" onClick=document.textbox.output.value+="text";><br />
<br />
is there anything wrong with this code? its meant to put "text" into a text box by the name of "textbox". it seems as if it isnt working. does anyone know what to do to fix this problem?<!--content--><input type="button" value="buttontext" name="Button" onclick="document.form_name.textarea_name.value='text'";><br />
<br />
change the names to what they should be.<!--content-->haha...i seemed to be missing the <form > section of it<!--content-->
 
Back
Top