append function apostrophe
<p>I am appending the following:</p>

<pre><code>$('#field').append("&lt;input type='text' id='searchfield'  placeholder='Search...' autosave='save' results='5' onkeyup='onChange('searchfield','searchfield_right')' /&gt;")
</code></pre>

<p>it's appending, but the onChange function is not working due to  the apostrophe...</p>

<pre><code>onkeyup="onChange('searchfield','searchfield_right')"
</code></pre>

<p>it should look like above with <code>"</code> and <code>'</code> for <code>'searchfield','searhfield_right'</code></p>

<p>when appending you have to use <code>'</code> only 
so the <code>'searchfield','searhfield_right'</code> would be seen as <code>"searchfield","searchfield_right"</code>
which is not correct -</p>

<p>is there a different way to append the right apostrophe <code>'</code> for the function????</p>
