title: Escape HTML "value" attribute for a select menu
body: <p>I have a select menu and I dynamically insert some values from a database:</p>
  
  <pre><code> markup += '&lt;option value=' + option["value"] + '&gt;' + option["alias"] + '&lt;/option&gt;';
  </code></pre>
  
  <p>some values, however, contain double quotes.  to try and get around this I tried:</p>
  
  <pre><code>markup += '&lt;option value=' + JSON.stringify(option["value"]) + '&gt;' + option["alias"] + '&lt;/option&gt;';
  </code></pre>
  
  <p>For examples sake lets assume the value is 6"Rocket (<em>this is actually my problem child</em>)
  When I try and read the value using Jquery <code>.val()</code> I always get 6.  </p>
  
  <p>What to do SO?</p>