title: Convert escaped html ASCII codes to plain text using JavaScript
body: <p>I'm looking to convert a string of html entities specifying ASCII codes (ie: &amp;#97;) to the ASCII characters they represent (ie: &#97;). I'm using a property of an object and trying to assign a value. For instance:</p>
  
  <pre><code>object.Text("");
  </code></pre>
  
  <p>When I pass is the string representing the entity, I get the same string back. I can't find the function to convert entities to the characters they represented.</p>