title: Insert element between anchor and img tag
body: <p>Is it possible in some way to add an element ( <code>&lt;div&gt;&lt;/div&gt;</code> in this case) in between the anchor tag and the image tag via javascript/jquery?
  high prefer if it can be possible using the id of the img tag.</p>
  
  <pre><code>&lt;a href=""&gt;&lt;img id="123" src="..."&gt;&lt;/a&gt;
  </code></pre>
  
  <p>to</p>
  
  <pre><code>&lt;a href="#"&gt;&lt;img id="123" src="..."&gt;&lt;div&gt;abc&lt;/div&gt;&lt;/a&gt;
  </code></pre>
  
  <p>or either </p>
  
  <pre><code>&lt;a href="#"&gt;&lt;div&gt;abc&lt;/div&gt;&lt;img id="123" src="..."&gt;&lt;/a&gt;
  </code></pre>