vanilla javascript loop through html 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);
});