Answers for "jqeury replace all but text"

1

replace all words in string jquery

$(this).html().replace(/word/g,"text");
Posted by: Guest on August-09-2021
0

jquery text replace

$(".text_div").text(function () {
    return $(this).text().replace("contains", "hello everyone"); 
});
Posted by: Guest on June-09-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language