Well, I’ve got a little Problem.
I want to add a class to my dropdownmenu (wp_list_pages) which is applied only to li elements with a submenu (ul with class children).
I tried to use the jQuery code below but it doesn’t apply the class. With a .css(…) it works fine but thats no very dynamic.