Problems with jQuery .not() and the draggable ui
- by Chris
Okay, when something is draggable, it is given the class .ui-draggable
And when something is disabled from being draggable .ui-draggable-disabled
I want to select only items that are draggable.
I'm using the following selector, but it doesn't seem to work. My disabled draggable items are still doing something on hover. Any ideas why?
$('.ui-draggable').not('.ui-draggable-disabled').hover(function() {
// rest of code
Thanks