Hur gör jag i Javascript så att när jag väljer något från min combobox så fylls textboxen med värdet <code>OnChange combobox
<code>
<SELECT id=select1 name=st onChange="">
<OPTION value="2">2</OPTION></SELECT><BR>
<Input type="text" name=str0 value="1" size=4>
</code>Sv: OnChange combobox
<SELECT id="select1" name="st" onChange="document.getElementById('str0').value=this.value">
<OPTION value="2">2</OPTION>
</SELECT><BR>
<Input type="text" name="str0" id="str0" value="1" size="4">
</code>