Bug #8975

http://bugs.jqueryui.com/ticket/8975

$(element).filter(":class"); doesn't work. It must be $(element).filter(".class");
Check : http://jsfiddle.net/UCpUN/1/