E_T

导航

2015年7月7日

摘要: 计算字符串的字节长度String.prototype.len = function () { return this.replace(/[^\x00-\xff]/g, 'xx').length;};alert(t.Calendar.len());//保留两位小数 //功能:... 阅读全文

posted @ 2015-07-07 09:07 E_T 阅读(165) 评论(0) 推荐(0)