Displaying 1 result from an estimated 1 matches for "saveordering".
2008 Mar 20
2
onUpdate problem with div
...st 3</
div>
<div id="divImage" style="float:left; cursor: move;>test 4</
div>
</div>
Sortable.create("puzzle",
{tag:''div'',overlap:''horizontal'',constraint:false,scroll:''puzzle'',onUpdate:saveOrdering});
function saveOrdering()
{
alert("test");
}
Now when I move 1 of the divs the divs moves in a correct way but the
function saveOrdering is never fired.
If I change the div tags to img tags saveOrdering is fired.
Can''t I use div''s or is there an other problem?...