把它放在你的代码中(最好是在一般的js函数库中): String.prototype.nl2br = function() { return this.replace(/\n/g, "<br />"); }.
確定! 回上一頁