会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
金色海
博客园
首页
新随笔
联系
订阅
管理
2023年5月5日
OpenEuler 部署 kubesphere 遇到问题及处理
摘要: 安装时报如下错误 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
阅读全文
posted @ 2023-05-05 19:06 金色海
阅读(175)
评论(0)
推荐(0)
2015年6月25日
js startWith
摘要: 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) ...
阅读全文
posted @ 2015-06-25 10:47 金色海
阅读(2074)
评论(0)
推荐(0)
2015年5月19日
jquery ajax form 提交图片 文件
摘要: function submitImg(imgid,formid,imginfo){ var filepath=$("#"+imgid).val(); var extStart=filepath.lastIndexOf("."); if(extStart!=...
阅读全文
posted @ 2015-05-19 11:53 金色海
阅读(4009)
评论(1)
推荐(0)
2015年3月25日
js,jquery 去除首尾空格 回车 换行
摘要: Jquery:$("#accuracy").val($("#accuracy").val().replace(/\ +/g,""));//去掉空格.replace(/\ +/g,"") //去掉空格方法$("#content").val($("#content").val().replace(/[ ...
阅读全文
posted @ 2015-03-25 16:05 金色海
阅读(3508)
评论(0)
推荐(0)
2015年3月24日
js,jquery获取url参数
摘要: // 获取url参数function getUrlParam(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); // 构造一个含有目标参数的正则表达式对象 var r = window.location.sea...
阅读全文
posted @ 2015-03-24 10:58 金色海
阅读(188)
评论(0)
推荐(0)
js,jquery 根据对象某一属性进行排序
摘要: 核心代码//针对对象数据进行排序propertyName 要排序的属性名,order 1为正序0为倒序function compare(propertyName,order) { return function (object1, object2) { var value1 ...
阅读全文
posted @ 2015-03-24 10:56 金色海
阅读(3131)
评论(0)
推荐(0)
2015年1月22日
jquery css div (弹出)显示隐藏层
摘要: css代码段.crm_tc_bg {width: 100%;height: 100%;position: fixed;display: block;top: 0;left: 0;background: #000;filter: apha(opacity=50);-moz-opacity: 0.5;o...
阅读全文
posted @ 2015-01-22 14:24 金色海
阅读(494)
评论(0)
推荐(0)
手机浏览器类型( user agent)判断
摘要: 对于一般性手机(pad)浏览器的判断 彻底解决UC浏览器不能准确判断的问题
阅读全文
posted @ 2015-01-22 11:35 金色海
阅读(1062)
评论(1)
推荐(0)
公告