摘要: function IEVersion() { var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串 var isIE = userAgent.indexOf("compatible") > -1 && userAgent.indexOf( 阅读全文
posted @ 2021-01-31 14:18 来瓶冰镇可乐吧 阅读(403) 评论(0) 推荐(0) 编辑
摘要: function toThousands(num) { var result = '', counter = 0; num = (num || 0).toString(); for (var i = num.length - 1; i >= 0; i--) { counter++; result = 阅读全文
posted @ 2021-01-31 14:16 来瓶冰镇可乐吧 阅读(177) 评论(0) 推荐(0) 编辑