Count images with jquery and then output the # -
I am looking to calculate the number of images with the name of a certain div square and then display that number That is calculated to display, it is on one page. Any advice about how to achieve this will be used to inform the user how many images are there in my image scroller. I finally think that 1/10, 2/10, etc. Dashash How L'list ... depending on whether the user is on what image. Here's the page so that you can see if I'm talking about scroller. I have a scholar who draws images from the custom field in the bug, I can add as many images as I like, I like. I'm using ScrolltoJS.Jquery to scroll images, I'm looking to get the count of the image and I would like to see that output You can use this code: var numImgs = $ ('div.myClassName img'). Length; Warning (numImgs); . $ ('Div # Count') Text (numImgs); Unlike other examples, it searches for the number of images in the class given in a single category.