Just wondering how to I find out how many arrays are in a array and loop though them.
I want to create a back and next function which will allow a user to switch between 1,2,3,5,6
Just wondering how to I find out how many arrays are in a array
Share
I’d be reseaching the Javascript array object;
http://www.w3schools.com/jsref/jsref_obj_array.asp
I think the property you are looking for is the
.lengthpropertyhttp://www.w3schools.com/jsref/jsref_length_array.asp
Or are you talking about the number of elements selected in jquery using a selector?
In which case use the
.lengthproperty again.http://api.jquery.com/length/