学会放弃

my blog is here

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2006年10月31日

摘要: String.prototype.trim= function(){ return this.replace(/(^\s*)|(\s*$)/g, "");} String.prototype.isInt= function(){ if(!this) return false; var strP=/^\d+(\.\d+)?$/; if(!strP.test(this)) return false; ... 阅读全文
posted @ 2006-10-31 16:11 leohuang 阅读(495) 评论(0) 推荐(0) 编辑