在遍历DOM时,通常用$(selector).each(function(index,element))函数;

在遍历数据时,通常用$.each(dataresource,function(index,element))函数。

 

http://blog.csdn.net/zjh_1110120/article/details/50550108

posted on 2016-10-25 16:33  筱筱鹿丸  阅读(3471)  评论(0编辑  收藏  举报