Use replace with a regular expression with the global modifier for better browser ... You could also add the function to String.prototype as a polyfill.
確定! 回上一頁