title: Check if anchors are clicked or not
body: <pre><code>&lt;a href='#' id='aId1'&gt;1&lt;/a&gt;
  &lt;a href='#' id='aId2'&gt;2&lt;/a&gt;
  &lt;a href='#' id='aId3'&gt;3&lt;/a&gt;
  &lt;a href='#' id='aId4'&gt;4&lt;/a&gt;
  &lt;a href='#' id='aId5'&gt;5&lt;/a&gt;
  </code></pre>
  
  <p>Is it possible to check if an anchor is clicked or not via JQuery? It should get the id of the clicked anchor, and if no anchor is clicked, it should also have an event to perform.</p>