jquery get count of li code example Example: jquery li count in ul $('#menu ul').filter(function(){ return $(this).children("li").length > 1 })