Showing posts with label each. Show all posts
Showing posts with label each. Show all posts

Wednesday, November 12, 2014

jQuery. Get ID of each element in a class using .each

$('.myClassName').each(function() {
    console.log( this.id );
});