I'd like to put a unicode up arrow in an html input button that is being generated in Javascript.
These are the codes for the up arrow from unicode-table.com:
Unicode number: U+2191
HTML-code: & #8593; (space between the & and # so you can see the code and not the arrow)
I do have
<charset="utf-8" />
in my head tag in the html file.
I've tried every variation of those two codes I can think of within the <> below and all I get in the browser is the text of the codes I've tried.
Here's the line of code:
upButton.setAttribute("value", "<up arrow code here>");