title: How to append and remove an <img > to <div> with jQuery?
body: <p>Original:</p>
  
  <pre><code>&lt;div id="test"&gt;
  ...
  &lt;/div&gt;
  </code></pre>
  
  <p>After appending:</p>
  
  <pre><code>&lt;div id="test"&gt;
  ...
  &lt;img src=".." /&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>After removing:</p>
  
  <pre><code>&lt;div id="test"&gt;
  ...
  &lt;/div&gt;
  </code></pre>