Hello,
How would I get all img elements' src values into an array from a parent div ID;
That's the base design. Being DB driven the number of images vary.Code:<div id="car_6c8859e4-4874-4ae1-b2b8-e2f76a7c10a0_photos" class="hidden"> <div class="gallery"> <div class="gal_thumbs"> <div class="gal_thumbs_cnt"> <a href="<imgpath>" onclick="displayPhoto('6c8859e4-4874-4ae1-b2b8-e2f76a7c10a0', '<imgpath>', '');return false;"><img src="<imgpath>" alt="<imgpath>" title="<imgpath>" /></a> </div> </div> </div> </div>
Cheers


Reply With Quote

Bookmarks