Op 26-aug-2006, om 19:43 heeft Stefan Petre het volgende geschreven:
> Drag and Drop from interface is not designed to work with table
> elements.
May I ask why not??
Steef
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
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 versio
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 paramet
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 t
I see. thanks for your answer.
patrick
Am 26.08.2006 um 19:43 schrieb Stefan Petre:
> Drag and Drop from interface is not designed to work with table
> elements.
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
_
Drag and Drop from interface is not designed to work with table elements.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
I´m using the interface plugin to drag and drop table rows.
the function below gives me an object HTMLTableRowElement for zone,
but nothing for drag:
ondrop: function (zone, drag)
{
alert(zone)
alert(drag)
},
any hints?
thanks,
patrick
_