- 浏览: 31723 次
-
最新评论
-
eyejava:
先看看各种常用的设计模式吧,然后重点看ioc,aop的思想,然 ...
第一天看Spring,有点云里雾里的感觉!
文章列表
//功能:扩充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, ""); }
//计算字符 ...
- 2006-10-19 17:12
- 浏览 1045
- 评论(0)
/*================================= 链接类 JPageUrl{===================================*/
function JPageUrl(url) {
this.url = url.toLower();
}
JPageUrl.prototype.add = function(name, value){
if(this.url.isNullOrEmpty() == true)
return "";
if(!name.isNullOrEmpty()) {
...
- 2006-10-19 17:07
- 浏览 790
- 评论(0)
/*================================= 弹出类 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 ...
- 2006-10-19 17:02
- 浏览 1114
- 评论(0)