私はこれをやろうとしていますhttp://jquerywall.com/demo-multi-transfer-jquery-ui-selectable/ しかし、問題は、この複数選択プラグインにはいくつかのボタンがあることです。これらのボタンのいずれかをクリックすると、ページが投稿されますそしてその方法に行きます。ここに私のボタンがあります
<div id="transfer-buttons">
<button id="add-button">Add →</button>
<button id="add-all-button">Add All *→</button>
<button id="remove-button">← Remove</button>
<button id="remove-all-button">←* Remove All</button>
</div>
ここに私のボタン機能があります
<script type="text/javascript">
$(function () {
$("#add-button").click(add);
$("#add-all-button").click(addAll);
$("#remove-button").click(remove);
$("#remove-all-button").click(removeAll);
$("#source-list, #target-list").selectable();
addHiglightPlugin();
});
私は何をすべきか?