How to append image using jQuery .append()?
<p>I could append a string to my table to show the status as such</p>

<pre><code>$('#test').empty().append("on")
</code></pre>

<p>but it would be better if i can display an image instead of a string. i tried this:</p>

<pre><code>$('#test').empty().append(&lt;img src="/static/on.png" height="64px" width="64px"&gt;)
</code></pre>

<p>but it's not working. How should i do it?</p>
