title: Trigger click function on element with id if handler is attached to class
body: <p>I would like to know if I can trigger a <code>.click</code> handler which is attached via class when I try to call it with id.
  For example:</p>
  
  <pre><code>&lt;div class="item" id="first"&gt;
  &lt;div class="item" id="second"&gt;
  &lt;div class="item" id="third"&gt;
  </code></pre>
  
  <p>and have an <code>.click</code> like</p>
  
  <pre><code>$('.item').click(someFunction);
  </code></pre>
  
  <p>what I now intend to do is, I want to use <code>.trigger('click');</code> if I click on a specific id.
  When I do:</p>
  
  <pre><code>$('#third').trigger('click'); 
  </code></pre>
  
  <p>it won't work since the click is attached to the <code>class="item"</code>. </p>
  
  <p>But is there a selector which makes it possible? Something like <code>$('.item#third')</code> that it triggers the click only when I click on an <code>.item</code> with the id <code>#third</code>.</p>
  
  <p>Hope you get my point.</p>