Displaying 1 result from an estimated 1 matches for "ongetdatacomplete".
2008 May 29
4
Drag/Drop finding droppable's properties?
...opArea'', {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
droppables, unless someone can point me in the right direction?
I am...