DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
JavaScript count list items
var myUL = document.getElementById("myUL"); var list = myUL.children.tags("LI"); alert(list.length);
Source by www.sitepoint.com #
PREVIOUS
NEXT
Tagged:
#JavaScript
#count
#list
#items
ADD COMMENT
Topic
COMMENT
Name
1+5 =
Submit