I could append a string to my table to show the status as such
$('#test').empty().append("on")
but it would be better if i can display an image instead of a string. i tried this:
$('#test').empty().append(<img src="/static/on.png" height="64px" width="64px">)
but it's not working. How should i do it?
<img />tag needs to be in quotes.$.append('<img src="..." />')