Khandaker Toihidul Islam
Front-end Developer
React Js | Javascript | HTML | CSS | Bootstrap | Wordpress | PHP | Mysql

Replace only text inside a div/label using jquery

$('selector').html($('selector').html().replace('text','replaced text'));

You may also like...