humour
Programmer
- Nov 24, 2003
- 87
I simply want to dynamically or programatically set the values in an HTML form - specifically the values in a list and the value in a text box. I think Javascript should be able to do it I just haven't found a code fragment for it.
I have been trying something like the following below (doesn't work):
<form>
<input name="startdate" type="text" size="10" maxlength="10">
<script=JAVASCRIPT>
<!--
form.startdate.value="zzzz"
-->
</script>
</form>