I have this simple markup:
<p> some content here </p>
I want to break it into
<p> some </p> content <p> here </p>
using javascript (or with jQuery help).
I want to break html p tag, so that my particular word (for example content) will be out of the p. I want to find cross browser and efficient solution.
Thanks in advance.
demo: http://jsfiddle.net/hSQ2m/6/