- 博客(3)
- 收藏
- 关注
原创 浏览器兼容性 Edge需要另外的判断
Edge跟别的IE的判别方式不一样 function myBrowser(){ var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串 var isOpera = userAgent.indexOf("Opera") > -1; if (userAgent.indexOf("'Trident") >
2016-05-23 22:33:52 3405 1
原创 jquery array remove duplicate records
//remove duplicate item /*$.each(newFilterSet, function(index, newValue){ var ret = new Array(); var json = {}; $.each(newValue.subtypes, function(index1,subtype){ if (!json[subtype])
2015-11-20 10:57:02 497
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人