Sunday, 11 August 2013

jQuery search for string - wrap in element

jQuery search for string - wrap in element

How can I search for a string on a page, and then wrap the text in an
element, say ""?
So for instance I search for the name "Alex" and whenever I find that
name, it replaces it with "Alex"?
Is that possible?

No comments:

Post a Comment