DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
get class count in jquery
// Gets the number of elements with class yourClass var numItems = $('.yourclass').length
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#class
#count
#jquery
ADD COMMENT
Topic
COMMENT
Name
7+5 =
Submit