使用每个:’
i‘是数组中的位置,
obj是您要迭代的DOM对象(也可以通过jQuery包装器进行访问
$(this))。
$('.testimonial').each(function(i, obj) { //test});检查api参考以获取更多信息。

使用每个:’
i‘是数组中的位置,
obj是您要迭代的DOM对象(也可以通过jQuery包装器进行访问
$(this))。
$('.testimonial').each(function(i, obj) { //test});检查api参考以获取更多信息。