title: Alternative to jQuery append()
body: <p>When adding text to an element, jQuery's append() function adds quotation marks around text. I want to change that, and instead separate values by comma or whatever I come up with. Is there an alternative to append() that will do that ?</p>
  
  <p>To give it some context, I'm using jQuery to dynamically write to a hidden <code>&lt;input&gt;</code> element. </p>
  
  <p>Currently after a few additions (using append) the resulting HTML looks like this:</p>
  
  <pre><code>&lt;input type="hidden"&gt;"first"
      "second"
      "third"
  &lt;/input&gt;
  </code></pre>
  
  <p>In an ideal world, the HTML <strong><em>should</em></strong> come out looking like this:</p>
  
  <pre><code>&lt;input type="hidden"&gt;first, second, third&lt;/input&gt;
  </code></pre>
  
  <p>Using jQuery to read, concatenate, and then replace the original <code>&lt;input&gt;</code> text might work, but I don't see a function that will do a wholesale replace of innerHTML (I'm assuing it's called that).</p>
  
  <p>Thoughts ?</p>