I have a <ul>
with many <li>
.
My <li>
's have different id's: for example: <li class="image" id=1>....</li>
How can I find now this <li>
with the id=1 ??
I tried this-->
var deleteImage = $("ul").find( ".image" ).attr("id").val(1);
...but it doesnt work. Any idea? THANKS!!!