title: How to set double quoted value in select box using jquery
body: <p>i want to show the previously selected value from the database to the select option using jquery.</p>
  
  <p>my value is 40"X48".
  the code i used </p>
  
  <pre><code>    &lt;?php $pallets_type = 40"X48"; ?&gt;
      var pallets_type = "&lt;?=htmlentities($pallets_type);?&gt;";
      $('select[name=pallets_type]').val(pallets_type);
  </code></pre>
  
  <p>but it's not working for me.</p>