转自: http://www.cnblogs.com/mingforyou/p/3930638.html 第一种:循环检查替换 第二种:正则替换 第三种:使用jquery jquery内部实现为: 第四种:使用motools 第五种:裁剪字符串方式 Read More
posted @ 2017-06-28 19:34 ck_2016 Views(244) Comments(0) Diggs(0)