I'm attempting to use Sortables to sort a list of images but can't get the onchange callback to work.  I am able to drag and drop the elements just fine.  I've also tried other callbacks like onDrag and tried 'onChange' as well. 
Here is my code:

  $('ul').Sortable({
      onchange: function(){alert('test');},
      accept: 'image',
      activeclass: 'activedrop',
      hoverclass: 'hoverdrop',
      helperclass: 'sorthelper',
      tolerance: 'intersect',
      opacity:  .7
  });

And of course the html looks similar to this:

<ul>
<li class="image"><img src=""> <li class="image"><img src=""></ul>


Any help will be greatly appreciated.

Thanks,
Kevin
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to