Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

loop through each class jq

/* Use each: 'i' is the postion in the array, obj is the DOM object that
you are iterating (can be accessed through the jQuery wrapper $(this) 
as well). e.g $(obj).height() */
$('.testimonial').each(function(i, obj) {
    //test
});
//goto the link given below in the source (bottom left side)
Source by api.jquery.com #
 
PREVIOUS NEXT
Tagged: #loop #class #jq
ADD COMMENT
Topic
Name
3+6 =