ChrisB: jquery draggable

Beitrag lesen

Hi,

Was muss ich tun, damit die divs auch bei Aufrufen der Funktion "loadElems()" aus "$.ajax({...})" heraus "draggable" sind?

draggable() erst dann aufrufen, wenn die Elemente auch im DOM existieren.

Derzeit machst du das beim load-Event – aber zu dem Zeitpunkt matched $( ".myDraggable" ) die Elemente natürlich noch nicht, weil es sie noch gar nicht gibt.

MfG ChrisB

--
Autocomplete has spoiled me to a point where it happens every so often that I encounter a CAPTCHA, and I just type in the first character … and then wait for the rest of the code to be automatically suggested :/