I have this text string and I would like to replace it with new text string but everytime I do it the css of it was gone. And then I make a script to add the css back but it doesn't seem to work. Any help please?
jQuery('div:contains("text")').replaceWith('newText').css({font-weight:"bolder"});
Thanks
