I\'m looking to vertically align text by adding tags between characters with jQuery.
Vertical Text&l
Not tested, but it should work.
var element = $( '#foo label' ); var newData = ''; var data = element.text(); var length = data.length; var i = 0; while( i < length ) { newData += data.charAt( i ) + ''; i++; } element.html( newData );