I have auto generated ul li CMS menu (prestashop) and I need to distinguish which li items have another's descendants(sub-levels) and which haven't and distinguish their css to let people know which items contain another's items.
I wanted to do it through jQuery, but I can't figure out how to do that.