Append adds a child node after the last child node so each character is going to be a text node
and that is why they are separated like that
If you want to add a character at a time you’re better off taking whats there and concatenating the char to the string that’s already there
You can do it like this using jQuery’s .text(function(){}) function
// where i = index and v = current text value
$('#outputid0').text(function(i,v){
return v + "your new char";
});
1
solved JQuery append() adding quotes and newlines and I don’t know why [closed]