Child Elements
Getting a child element instance is very simple: just treat the instance as an array and access its child element instances by numeric index.
- I am 1
- I am 2
- I am 3
length
Get the number of child elements of the target element, as shown in the example above:
$("#logger1").text = $('ul').length;