摘要:
安装时报如下错误 18:46:27 CST retry: [node1]18:46:33 CST [ERRO] check remote file exist err: strconv.Atoi: parsing "Welcome to 5.10.0-136.12.0.86.oe2203sp1.x8 阅读全文
摘要:
String.prototype.startWith=function(s){ if(s==null||s==""||this.length==0||s.length>this.length) return false; if(this.substr(0,s.length)==s) ... 阅读全文
摘要:
function submitImg(imgid,formid,imginfo){ var filepath=$("#"+imgid).val(); var extStart=filepath.lastIndexOf("."); if(extStart!=... 阅读全文
摘要:
Jquery:$("#accuracy").val($("#accuracy").val().replace(/\ +/g,""));//去掉空格.replace(/\ +/g,"") //去掉空格方法$("#content").val($("#content").val().replace(/[ ... 阅读全文
摘要:
// 获取url参数function getUrlParam(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); // 构造一个含有目标参数的正则表达式对象 var r = window.location.sea... 阅读全文
摘要:
核心代码//针对对象数据进行排序propertyName 要排序的属性名,order 1为正序0为倒序function compare(propertyName,order) { return function (object1, object2) { var value1 ... 阅读全文