jquery pass text and variable inside .html()
<p>this is probably very easy but I can't figure it out :)</p>

<pre><code> $('#myDiv').html('&lt;a onclick="remove_item(variantId);"&gt;Remove&lt;/a&gt;');
</code></pre>

<p>variantId is a JS variable so I need to pass it's value in the code above.</p>
