Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は2つのdivを持っています。最初のdivには、他のdivにドラッグできるにAvailable items設定された入力フィールドを含むいくつかのリスト項目が含まれています。これは問題なく機能しますが、必要なアイテムのリストに入力を有効にして、投稿したときに、すべてではなく、必要なアイテムのみを投稿するようにする必要があります。何か案は?disabledWanted items
Available items
disabled
Wanted items
receive必要なアイテムのリストのメソッドで関数を指定する必要があります。何かのようなもの:
receive
$("#wantedItems").sortable({ receive: function (event, ui) { //enable the input here } });