title: How to get the tagName of next selector?
body: <p>I need to verify is the next element of each <code>&lt;a&gt;</code> tag <code>&lt;img&gt;</code> or not?
  so, i need to get the <code>tagName</code> of each <code>&lt;a&gt;</code> element's next tag.</p>
  
  <pre><code>$("a").each(function()
  {
       how to verify it here?
  });
  </code></pre>
  
  <p>Thanks</p>