去outerText字符串里的空格

 zt = zt.replace(/^\s*/, "").replace(/\s*$/, "");   //去outerText字符串里的空格
原文地址:https://www.cnblogs.com/hanyun/p/2490542.html