<select name="select1" style="200px" onchange="document.all(’tf1’).value = this.options[this.selectedIndex].text">
<option>Debian Linux</option>
<option>Suse</option>
<option>Window Xp</option>
</select>
<br />
浏览器 :
<select name="select2" style="200px" onchange="document.all(’tf2’).value = this.options[this.selectedIndex].text">
<option>Opera 10</option>
<option>Firefox 1.5</option>
<option>IE 6.0</option>
</select>
<br />
测试人员 :
<select name="select3" style="200px" onchange="document.all(’tf3’).value = this.options[this.selectedIndex].text">
<option>Yu</option>
<option>Feng</option>
</select>
<br />
<br />
<input name="tf1" type="text" value="Debian Linux" />
<input name="tf2" type="text" value="Firefox 1.5" />
<input name="tf3" type="text" value="Feng" />
<input type="submit" name="Submit2" value="指派" onclick="alert(’Done’);" />