フィールドの 1 つにトークン入力があり、複数の値があります。単一の選択フィールドです。そのフィールドから特定の値を1つ選択して送信し、同じフォームを再度開くと、そのフィールドをクリアするロジックがありますが、クリアする前に変数の1つに値を保存しています。クリアされた後、書き戻します。問題は、通常のjqueryを使用して値を書き込んだことですが、機能していません。書き戻す方法を誰か教えてください。
以下はトークン入力の構造です
<div>
<ul class="token-input-list-ap">
<li class="token-input-token-ap"></li>
<li class="token-input-input-token-ap">
<input type="text" autocomplete="off" id="token-input-idlov17" style="outline: none; width: 30px; display: none;">
<tester style="position: absolute; top: -9999px; left: -9999px; width: auto; font-size: 13px; font-family: 'Avenir Next', Avenir, 'Helvetica Neue', 'Lucida Grande', Arial, sans-serif; font-weight: normal; letter-spacing: normal; white-space: nowrap;"></tester>
</li>
</ul>
<input type="text" id="idlov17" name="ONSITE_lov" class="reportField fieldsXtraLength" value="" placeholder="Find by name or email" style="display: none;">
</div>