Hi,
i am experimenting with the drag and drop feature but it wont work. Maybe someone can check it.
i have a table
inside each table row is a div with the class dragable. On the sidebar is a list with each li is dropable. I included the jquery classes and use this script:
echo
"<script type=\"text/javascript\">$(function() {
$( \"div.dragable\" ).draggable();
$( \"li.droppable\" ).droppable({
drop: function( event, ui ) {
alert('Hello World');
}
});
});
</script>"
;
If i load the page, no error will be displayed. I see the green dragable div and i am able to drag it around. But if i move the div outside the table it will disappear.
the above table code is only a snippet the table is sourrounded by some more divs.
Any ideas?