Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

each element in array jquery

//loops through the 'substr' array and performs an action
//for each item inside of it

var substr = [1, 2, 3, 4];
$.each(substr , function(index, val) { 
  console.log(index, val)
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #element #array #jquery
ADD COMMENT
Topic
Name
2+2 =