javascript adding the i value to an element selector in a loop code example
Example: how to loop over dom objects javascript
Array.from($('.'+$( this ).attr('id'))).forEach(function(obj){
console.log(obj);
});
Array.from($('.'+$( this ).attr('id'))).forEach(function(obj){
console.log(obj);
});