If a ul has more than one li-element inside of it, something should happen, otherwise not!
ul
li
What am I doing wrong?
if ( $(\'
Use $('ul#menu').children('li').length
$('ul#menu').children('li').length
.size() instead of .length will also work