Displaying 1 result from an estimated 1 matches for "page_33".
Did you mean:
page_3
2006 Apr 14
1
Problems using Sortable with an onUpdate callback
Hi all:
I''m using sortable (very cool stuff!) on a series of divs with an
onUpdate callback. Everything appears to work alright until I try to
pass a parameter to my callback function like this:
Sortable.create( ''page_33'',
{
tag: ''div'',
onUpdate: updateOrder(''page_33'')
}
);
When I pass that parameter to the updateOrder function (as opposed to
just using the updateOrder function without a call back) I get the
following error in my JavaScript console:
"...