Insert image after a link
<p>I have a large table that one column contains e-mail addresses (+/- 60), and I was told to add an e-mail icon after each address. I have been trying to use <code>anchors</code>,<code>.href</code> and <code>.indexof</code> to select the e-mail links, but have gotten no where (hence no code).</p>

<p>Can I get assistance on how to add <code>&lt;img src="/a/path/email.jpg" alt="e-mail" /&gt;</code> if the link's <code>href</code> contains a <code>mailto</code> using <strong>vanilla JavaScript</strong>, <em>no jQuery</em>.</p>
