Answers for "how to replace div text in jquery"

6

jquery change text of div

$('#dialog_title_span').text("new dialog title");
Posted by: Guest on December-22-2020
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