jQuery Convert a div's text into vertical
<p>Lets say i got this div</p>

<pre><code>&lt;div&gt;
    Convert This into a vertical Text
&lt;/div&gt;
</code></pre>

<p>While searching for a way in which i can convert this text into a vertical text.</p>

<p>I found out something like this :</p>

<pre><code>$('div').html($('div').text().replace(/(.)/g,"$1&lt;br /&gt;"));
</code></pre>

<p>This works.<br />
But is there a better way of doing this ?</p>
