출처 : 본인

<script type="text/javascript">

    String.prototype.replaceAll = function (searchValue, replaceValue) {

        return this.split(searchValue).join(replaceValue);

    }

</script> 
Posted by motolies
,