へのドラッグアンドドロップ:jQueryの - ここに私のjQueryの特定の領域
$(".list").draggable({helper: 'clone', cursor: 'hand'});
$(".drop1").droppable({
accept: '.list',
hoverClass: 'dropareahover',
drop: function(ev, ui){
var targetId = $(this).attr("id");
var allTargets = $("#" + targetId, ".tble");
$("#" + targetId).each(function() {
//here i have to write the conditions.
});
}
});
iは、特定の領域にコンテンツを配置する必要があります。私はコンテンツの他の領域を配置する場合。それは受け入れられません。
あなたの問題が何であるかについて、より具体的に説明してください... –