摘要:
点击此处进行全屏查看©2011 Copyright Ider Zheng此项目中用到的Javascript偏门知识prototype扩展已有的Javascript对象:String.prototype.trim = function(){return this.replace(/^\s+|\s+$/g, "");}Getter只读属性器: get EndlineMatcher() { return /\n|\r|\r\n/g; },String.replace方法接受函数作为参数:function HtmlEncode(original)... 阅读全文
posted @ 2011-08-29 07:39
Ider
阅读(5070)
评论(3)
推荐(1)

浙公网安备 33010602011771号