I\'m looking to vertically align text by adding tags between characters with jQuery.
Vertical Text&l
Why use a while loop when you can use jQuery's builtin each method?
$.each( $('#foo').text(), function(){ $('#foo').append(this + ''); } );
There. It works. You can test it.