iterating dom element querySelector a fro href 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);
});