<select name="name" onchange="document.all['target'].value=value;"> <option>Test <option>Rest <option>Mest <option>Dest </select> <input type="text" name="" id="target" />