I have a html
that has five elements div
.
I would like some help to get a get of the size of this array in Jquery.
Ex: With the function eq()
, you get an element of the page, referenced by array.
If I use the following code $( "body" ).find( "div" ).eq( 2 ).css( "background-color","blue");
, the third div
of the array will have the background in blue.
How do I get the total value of this array?