DOM creation - character entities?
DOM creation - character entities?
So say I have something like this:
$('<span>', {
text: ' this is a test – see?'
});
The ndash will just show up as is. How can I get it to actually show the character it represents?
Topic Participants
kaitlyn2004
aivopaas