<br/>
<a href="#">News</a>
<br/>
This is the first line
<br/>
This is the second line
<br/>
This is the third line
Is there any way to wrap each text line with tag! and content of the text is not fixed and it will come dynamically. If I use jquery :contains selector, no way for dynamically content lines. Thanks
Assuming you have a wrapper with id = test:
Example here: http://jsfiddle.net/GMJxG/1/
Edit: @Arvind07 beat me to it! I’ll leave this here for the example.