Html/Javascript question?

J L

New member
<form name="form1">
<input type="text" name="txtTest">
<input type="button" value="Populate" onClick="document.form1.txtTest.value ='Populated!';">
</form>
 
I want a code so when you click onto the cell it writes a number into a textbox and i want it so if you click the cell again it types it again into the textbox. Is this possible?
 
<form name="form1">
<input type="text" name="txtTest">
<input type="button" value="Populate" onClick="document.form1.txtTest.value ='Populated!';">
</form>
 
Back
Top