title: How to get image id using jQuery?
body: <p>I have written code like this. <code>&lt;img id='test_img' src='../../..' /&gt;</code></p>
  
  <p>I want to get the id of this image on image load like,</p>
  
  <pre><code>$(img).load(function() {
  // Here I want to get image id i.e. test_img
  });
  </code></pre>
  
  <p>Can you please help me?</p>
  
  <p>Thanks.</p>