looping through list jquery and nested container with next code example
Example: jquery loop through each child element
$('#mydiv').children('input').each(function () {
alert(this.value); // "this" is the current element in the loop
});
$('#mydiv').children('input').each(function () {
alert(this.value); // "this" is the current element in the loop
});