Click to See Complete Forum and Search --> : grabbing a value from an input tag


perj
09-30-2006, 05:17 PM
How would I go about getting the value from this input tag:

<input type="text" value="5" id="size" name="size">

and putting it where the Z's are:

<h4 onClick="set_board(ZZZZZZZZZZZ);"> new game </h4>

perj
09-30-2006, 05:25 PM
Sorry, I figured it out.