jQuery - Select series of items unless it has a class
I want to select series of list items unless it has a class. I want to then hide and show.
So when parent is clicked i want to show the next two lists.
I know this would be easy with nested lists. But I am do this over a plugin generated code. This is how its structured.
You could use the
.nextUntil() method in order to select the
li siblings until the next