get class count in jquery code example
Example: get class count in jquery
// Gets the number of elements with class yourClass
var numItems = $('.yourclass').length
// Gets the number of elements with class yourClass
var numItems = $('.yourclass').length