Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.
This will output the following HTML:
var str = '<img src="path/to/some/image" />'; $('#selector').html(str);
It removes the self closing "slash" at the end of the img tag because jQuery renders true HTML, not XHTML.
<div id="selector"> <img src="path/to/some/image"> </div>
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.