jQuery - replace or remove specific character with .replace()

0 votes
195 views
added Aug 6, 2019 in jQuery by anonymous
$('#mydiv').html($('#mydiv').html().replace("remove this",""));

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...