摘要: 原文出处https://www.cnblogs.com/tylerdonet/archive/2013/04/05/3000618.html jQuery 遍历函数包括了用于筛选、查找和串联元素的方法 var arr=[1,2,3,4]; $.each(arr,function(){ alert(t 阅读全文
posted @ 2017-12-08 12:02 一只爱study的girl 阅读(585) 评论(0) 推荐(0) 编辑
摘要: 拼接id 接口ip:120.12.3.7;120.12.3.10;120.12.3.90; var num=data.ip.split(".")[3]; div#tab1;div#tab2 拼接后的 $('#tab'+num) 阅读全文
posted @ 2017-12-08 11:45 一只爱study的girl 阅读(1035) 评论(0) 推荐(0) 编辑