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
Modified: Dec 8, 2020 9:51 AM
Views: 151
Tags: no tags
  1. jQuery('div').each(function (index, value) {
  2.         console.log('div' + index + ':' + $(this).attr('id'));
  3. });