Hi all, If I am selecting as follows:
$('li',"#container").draggable({
/* blah */
});
How do I get the individual class attributes for those elements selected so that I can something along the lines of
$('li',"#container").draggable({
/* blah */
}).attr("name", "insert name of individual img");
The markup is as follows:
<ul id="container">
<li class="blah">
<img src="" class="update" name="I Want This" width="40" height="40" />
</li>
<li class="blah">
<img src="" class="update" name="I Want this too" width="40" height="40" />
</li>
</ul>