×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: wang yi
Added: Mar 31, 2017 3:11 AM
Views: 5
Tags: jquery
  1. var $divElements = $("div");
  2. var i = 0;
  3. for(var el of $divElements) {
  4.   el.addClass("hide");
  5. }