私は jQuery Mobile App を構築する方法を学ぼうとしている初心者で、さまざまなページのさまざまなリストにシャッフルしたい項目のリストがあります。を使用して削除する方法を見つけることができました
$('document').ready(function() {
$('.theListItem .red').click(function() {
var $toRemove = $(this).closest('div[data-theme="a"]')
$toRemove.animate({
height: 0
}, 500, function() {
// This is the callback.
$toRemove.remove();
});
return false;
});
});
しかし、アイテム全体を次のように移動したい場合
<div data-role="collapsible" data-collapsed="false" data-theme="a">
<h3>Section 1</h3>
<div data-role="controlgroup" data-type="horizontal">
<a href="categorize.html" data-role="button">Yes</a>
<a href="index.html" data-role="button">No</a>
<a href="index.html" data-role="button">Maybe</a>
</div>
まったく同じ機能を備えた別のリストに移動するには、どうすればよいでしょうか? 本当にありがとう。