I've got 3 nested divs.
<div id="wrapper">
<div id="innerWrapper">
<div id="inner"></div>
</div>
</div>
I need to add html via jQuery./ So I use
$('#wrapper').html('<img src="profile.png"/>');
But when I do that the innerWrapper
and inner
divs disappears. How can I add <img src="profile.png"/>
instead of replacing the divs inside wrapper
?