find and replace a word across a webpage using jquery

Solution for finding a word across a webpage and then replacing it with another word using jquery

$("body").html($("body").html().replace(/yourWord/g,'Replace with newone'));


I Am suresh(suresh kumar )a Web developer,Freelancer,webdesigner,UI developer from bangalore. Got 6+ yrs of IT experience . I specialize in standards-based XHTML, CSS and JavaScript web development. Each site I develop is built to be search engine friendly (SEO), using the latest development principles and techniques.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *