Iterate Through All DIV Elements With A Name Attribute


$('#container div[name="someName"]').each(function (item, elem) {
      var elemId = $(elem).attr('id');
      var someValue = $(elem).data('some-value');
});

Back to Notes