1
我试图将下拉框中选定的值附加到使用JQuery的页面上的另一个文本框中。将表单值附加到文本框
取值从这种形式
<form id="val">
<select>
<option value="Counseling General CBI Determinations">CBI Determinations</option>
<option value="Counseling General Correspondence">Correspondence</option>
<option value="Counseling General Memorandum">Memorandum</option>
</select>
<button type="button" id="append">apply filter</button>
</form>
追加到该文本框
<input name="txtBox" type="text"/>
'option'标签必须在'select'标签中。你的html无效 – Mohammad
你试过的jQuery在哪里? – j08691