2
をドラッグされている、それは単純な作業でなければなりませんようにこれはそうですが、私は限りjQueryの行くようにnoobのだ、ので、ここで私が探しているものです:jQueryのIdは
私はこのようなものを持っています:このJavaScriptで
<div class=draggable id=thing1> some contents </div>
<div class=draggable id=thing2> some other contents </div>
.
.
.
<div class=draggable id=thingN> content </div>
:
$(function() {
$(".draggable").draggable();
// from inside this block, how can I know the id of the thing I'm dragging?
}
ありがとうございます。私はJavascriptが 'これを忘れた' –