title: Using jQuery to add a ✔ tick mark in span
body: <p>From <a href="https://stackoverflow.com/questions/658044/tick-symbol-in-html-xhtml">this question</a> I learned that the check mark is the code <code>✔ (0x2714 [HTML decimal: &amp;#10004;])</code>. I know that you add text to a span using jQuery by doing <code>$('#spanid').text(texthere);</code>. I want to add the check mark to the span.</p>
  
  <p>I did it like</p>
  
  <pre><code>$('#spanid').text(&amp;#10004;); //This errors on the `&amp;`
  $('#spanid').text(#10004); //This results in `Unexpected token ILLEGAL
  </code></pre>
  
  <p>What is the  correct way of doing this?</p>