jQuery UI sortable issue

Posted by colourandcode on Stack Overflow See other posts from Stack Overflow or by colourandcode
Published on 2009-09-28T00:01:01Z Indexed on 2010/04/21 18:33 UTC
Read the original article Hit count: 254

Filed under:
|

When I try to use a sortable event . (For instance the stop() event) It only works when I bind it using :

$('.selector').bind('sortstop', function(event, ui) { ... });

rather than

$('.selector').sortable({ stop: function(event, ui) { ... } });

Is there a missing piece in this?

The only reason I ask is because when I bind using the actual bind() method it's not giving me access to the event or ui parameters I pass in. I'm always returned undefined.

© Stack Overflow or respective owner

Related posts about sortable

Related posts about jQuery