js replace string (basic) (only replace first match)

HTML

<div class="text_div">
    10,000,00
</div>

JavaScript

$(".text_div").text(function () {
    return $(this).text().replace(",", ""); 
});