[Solution found!] 自IE9 +起,所有浏览器都具有trim()字符串方法。 对于不支持的浏览器trim(),可以使用MDN中的以下polyfill : if (!String.prototype.trim) ...
確定! 回上一頁