title: HTML Entity Decode
body: <p>How do I encode and decode HTML entities using JavaScript or JQuery?</p>
  
  <pre><code>var varTitle = "Chris&amp;apos; corner";
  </code></pre>
  
  <p>I want it to be:</p>
  
  <pre><code>var varTitle = "Chris' corner";
  </code></pre>