Question and answer is powered by AnsPress.io
I have a HTML web page and in my HTML web page I want to count number of div under a parent div using jquery.
I follow this code:
<div class="publish"> <div class="published"></div> </div>
Here I want to count the element having published class.