Hi, How do I get the draggable element's text being deposited in my droppable? I have tried "text()" and "html()" and I get JS errors, "text/html is not a function". Here is the code I'm working with ...
$('#currentclasslist').Droppable( { accept: 'student', tolerance: 'intersect', activeclass: 'dropzoneactive', hoverclass: 'dropzonehover', ondrop: function (drag) { var name = $ ('#' + id).text(); addStudentToClass(name); } } ); The item being dragged in does not have an id attribute. Thanks, - Dave