title: Append quotation
body: <p>I am trying to <code>append()</code> a button with an <code>onclick</code> attribute which calls a javascript function:</p>
  
  <pre><code>$('#button').append('&lt;button onclick=setUrlLink(\''+pageN+'\')&gt;Next&lt;/button&gt;);
  </code></pre>
  
  <p>When checking the source code, quotations are missing around <code>pageN</code>, how can I do that?</p>