JSFiddle - React, Tailwind, and code Playground
by ipr101
HTML
<span class="price">$34.55</span>
JavaScript
$(".price").each(function () {
var currentText = $(this).text();
$(this).text(currentText.replace("$","R"));
});
by ipr101
<span class="price">$34.55</span>
$(".price").each(function () {
var currentText = $(this).text();
$(this).text(currentText.replace("$","R"));
});