`
lijiehua
  • 浏览: 31723 次
最近访客 更多访客>>
社区版块
存档分类
最新评论
文章列表
//功能:扩充String类型的函数功能 String.prototype.trim  = function(){ return this.replace(/(^[\\s]*)|([\\s]*$)/g, ""); } String.prototype.ltrim = function(){ return this.replace(/(^[\\s]*)/g, ""); } String.prototype.rtime = function(){ return this.replace(/([\\s]*$)/g, ""); } //计算字符 ...
/*================================= 链接类 JPageUrl{===================================*/ function JPageUrl(url) {     this.url = url.toLower(); } JPageUrl.prototype.add = function(name, value){     if(this.url.isNullOrEmpty() == true)         return "";         if(!name.isNullOrEmpty()) { ...
/*================================= 弹出类 Popup{===================================*/ function JPopup(urlpath) {     this.url = urlpath;     this.defaultwidth = 366;     //the width of the window     this.defaultheight = 400;    //the height of the window } JPopup.prototype.status = 'no'; JPopup.proto ...
Global site tag (gtag.js) - Google Analytics