프로그램 자료/Java Script
JavaScript ReplaceAll 함수
motolies
2014. 11. 7. 14:24
출처 : 본인
<script type="text/javascript">
String.prototype.replaceAll = function (searchValue, replaceValue) {
return this.split(searchValue).join(replaceValue);
}