title: passing a parameter with onclick function is read as a variable when it should be read as a string
body: <p>Here is my issue: </p>
  
  <p>I am creating dynamically a button with an onclick function like this:</p>
  
  <pre><code> $("#test).html('&lt;input type="button" value="Close" onclick="remove('+param1+','+param2+');" /&gt;');
  </code></pre>
  
  <p>The parameters are well read but the function is not trigger, and I've got this error message:
  "bob is not defined" when bob is the string value of the param1. </p>
  
  <p>Apparently it seems that bob is read as a variable when it should be read as a string, but I don't understand why.</p>
  
  <p>Thanks much for your help!</p>