第一种 jquery each函数 第二种 js forEach函数 参考:http://www.jb51.net/article/81955.htm 转载于:https://www.cnblogs.com/wangyuyanhello/p/7985533.html