Displaying 1 result from an estimated 1 matches for "ajaxddtest".
Did you mean:
  ajax_test
  
2008 May 29
4
Drag/Drop finding droppable's properties?
...opped.
I have a droppable area:
Droppables.add(''dropArea'', {onDrop:addItem});
And a method that calls a webservice via AJAX:
    function addItem(element, dropon, event)
    {
        var s = element.id;
        //
element.width,element.height,element.top,element.left,
        AJAXDDtest.DBAccess.InsertField(s,element.innerHTML,0,0,0,0,
onGetDataComplete, onGetDataTimeOut);
    }
Essentially, i want to get the width, height, top, and left of the
element that was dropped - is this possible? I have tried looking
around the sciptaculous wiki, but I can''t find a DOM for the
d...