I have the following Jquery code:
$(function () {
$("div[id$='xxx']").click(function ()
{
$('.greenBorder').each(function (i, obj)
{
});
});
});
When a DIV called xxx is clicked, each HTML img with a class of greenBorder is iterated through. I would like to access the src attribute of each img. I can't figure out how to pull this value out. The obj function parameter contains the HTML element object, but how do I get the value out of that object? If this were C/Java/C#, I would cast it.