how to loop div mality div 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
});