Possible Duplicate:
Jquery or javascript to add one line break <br /> after x amount of characters in a <div>
I'd like to insert a br
tag five characters into the content of the element. For example, from this:
<p>qwertyuiopasdfghjklzxcvbnm</p>
To this:
<p>qwert<br />yuiopasdfghjklzxcvbnm</p>
How can I do this with jQuery?
because i work with languange like japan, if in English we have sentence or word but in japan no space between word or sentence that why i want to add something like
– ruslyrossi May 19 '12 at 06:27