Hi, new here, wonder if anyone can help me out. Here's what I got.
IE doesn't seem to like this, but of course it works fine in Firefox. I trying to fill a textbox based on a selection made from a drop down menu. Any idea's? Am I missing something? It seems very simple, but apparently not.
Thanks
[HTML]<code>
<script language="javascript">
function fillA()
{
document.form1.printdept.value = document.form1.department.value;
}
</script>
<form method="post" name="form1">
Department:
<input type="text" class="hidetextbox" size="7" name="printdept">
<select class="noprint" name="department" onChange="fillA()">
<option>100</option>
<option>200</option>
<option>300</option>
</select>
</form>
</code>
[/HTML]