it´s working with:
ondrop: function(zone, drag) {
alert(this);
alert(zone);
},
because "this" refers to the droppable whereas zone is the draggable.
not sure if that´s intended.
patrick
Am 26.08.2006 um 20:15 schrieb patrickk:
> that´s good news.
> just downloaded a new version of interface.js, but it doesn´t seem to
> work.
>
> thanks,
> patrick
>
> Am 26.08.2006 um 19:57 schrieb Stefan Petre:
>
>> still, it may work. just that I changed something regarding
>> droppables.
>> Onchange applies to the droppable and gets only one parameter, the
>> dragged element. So you should do like this
>>
>> onchanged : function(dragged){
>> alert(this); //the droppable
>> alert(dragged); //the draggable
>> }
>>
>> I updaed the documentation too. Sorry for this.
>>
>> _______________________________________________
>> jQuery mailing list
>> [email protected]
>> http://jquery.com/discuss/
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/