count all items inside 2nd ul using jquery code example
Example: count all items inside 2nd ul using jquery
let count = $("ul li ul").children().length;
alert("Total Length of li in 2nd ul is" + count);
let count = $("ul li ul").children().length;
alert("Total Length of li in 2nd ul is" + count);