Loading

jQuery的each函数

http://www.cnblogs.com/xiaojinhe2/archive/2011/10/12/2208740.html

http://www.cnblogs.com/mabelstyle/archive/2013/02/19/2917260.html

 

 var arr1 = [ "aaa", "bbb", "ccc" ];      
  $.each(arr1, function(i,val){      
      alert(i);   
      alert(val);
  });  

 

posted @ 2015-03-26 15:58  stono  阅读(138)  评论(0编辑  收藏  举报