How to loop through LI items in UL, get specific attributes, and pass them via $.ajax data
- by Ahmed Fouad
Here is my HTML code:
<ul id="gallery">
<li id="attachment-32" class="featured"><a href="..." title=""><img src="..." alt="" /></a></li>
<li id="attachment-34"><a href="..." title=""><img src="..." alt="" /></a></li>
<li id="attachment-38"><a href="..."…