摘要:
function returnFloat(value){ var value=Math.round(parseFloat(value)*100)/100; var money=value.toString().split("."); if(money.length==1){ value=value. 阅读全文
摘要:
function GetRequest() { var url = location.search; //获取url中"?"符后的字串 var theRequest = new Object(); if (url.indexOf("?") != -1) { var str = url.substr( 阅读全文
摘要:
var ua = navigator.userAgent.toLowerCase(); if (/iphone|ipad|ipod/.test(ua)) { alert("iphone"); } else if (/android/.test(ua)) { alert("android"); } 阅读全文