問題タブ [jquery-select2-3]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
javascript - イベントを .select2-search-choice-close にバインドできません
select-2 プラグインを select 要素に接続しましたが、イベントを 1 つ割り当てたいと思います: .select2-search-choice-close をクリックした後にフォームをリロードしますが、この要素にイベントをバインドできません.
イベントをバインドする前に、すべてのイベントのバインドを解除し、親のhref
属性を変更しようとしました:
それでも:
.select2-search-choice-close をクリックしても、これは起こりません。
バージョン: 3.5.2 を使用していますが、残念ながら変更できません。