How do I write jQuery selector to test if li has ul that has at least one li that is not .disabled (may be other classes or without class at all).
Yes sounds complex but it's simple - I need to know if there're uls that do not have "disabled" class on inner lis.
Something like
$("li").filter("*:has(ul:has(li:not(.disabled)))")