1
hzlzh PRO html中字符串中空格一向都自动合并的,如果要不合并用 或者< pre>
|
2
hzlzh PRO 用转义符号: &nb[去掉我]sp;
|
3
ljbha007 Aug 30, 2012
str.replace(/\s/, " ");
|