Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: Marosi Dóra
Added: Jun 20, 2019 2:27 PM
Views: 19
Tags: no tags
  1. $('div').each(function (index, value) {
  2. console.log('div' + index + ':' + $(this).attr('id'));
  3. });