[jQuery] Interface Sortables onchange property
Hi. I'm trying to fire off an alert (testing) during a sortables onchange event. Here's my code:
var personalizeHPTabs = function() {
alert('hi... I'm here');
};
var triggerHPTabsPersonalization = function() {
$('ul.hptabs-sortable').Sortable( {
accept : 'hptab-sort-item',
helperclass : 'sorthelper',
opacity: 0.8,
fx: 200,
tolerance: 'intersect',
axis: 'vertically',
onchange: personalizeHPTabs
})
}
The weird thing is it never fires for the onchange property... I did get it to fire on the onStop, but I only want it to trigger when a change actually occurs. Any ideas?
Rich
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/