ドロップダウンボックスで選択した値を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>
追加あなたのhtmlを修正する必要がある最初の事
<input name="txtBox" type="text"/>
'option'タグは' select'タグでなければなりません。あなたはhtmlが無効です – Mohammad
jQueryはどこですか? – j08691