elin-r
10/4/2016 - 10:26 AM

jQuery Replace Text

jQuery Replace Text

<script type="text/javascript">
jQuery(window).load(function() {
document.querySelector(".nf-input-limit").innerHTML = document.querySelector(".nf-input-limit").innerHTML.replace('of', 'av');
document.querySelector(".nf-input-limit").innerHTML = document.querySelector(".nf-input-limit").innerHTML.replace('Tecken', 'tecken');
});
</script>