HTML Code:
my HTML is <div class="classroom"><ul><li>student 1<img src="student1.jpg" /></li><li>student 2<img src="student2.jpg" /></li><li>student 3 <img src="student3.jpg" /></li></ul></div><div class="classroom close"><ul><li>student 1<img src="student1.jpg" /></li></ul></div>
my situation is i need to know the number of the classrooms I have, so I used $('.classroom'), then I will get an array of elements with the classroom class. then I want to loop through all the student and select the image,
how can I do that?