title: How do i select this id attribute using jQuery
body: <p>I want to fetch the value of id attribute i.e <code>1_4</code> from the <code>&lt;img&gt;</code> tag.</p>
  
  <pre><code>&lt;a class="toggle" href="#toggle"&gt;
      &lt;img src="tick.png" id="1_4" alt="No"&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>I am using the jQuery code.</p>
  
  <pre><code>$('.toggle').live('click', function() {
  
  });
  </code></pre>
  
  <p>How do i select the value of id attribute within the jQuery code.</p>
  
  <p>thank you.</p>