title: JQuery Get ID of clicked link
body: <p>I've got this type of link in my HTML :</p>
  
  <p>Librairy :</p>
  
  <pre><code>&lt;script type="text/javascript" src="../../resources/js/jquery/jquery-1.12.3.min.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>HTML :</p>
  
  <pre><code>&lt;a id='1' href='#' class='bulletinLink'&gt; Bulletin du 11-01-2015 &lt;/a&gt;
  &lt;a id='2' href='#' class='bulletinLink'&gt; Bulletin du 13-02-2015 &lt;/a&gt;
  ...
  </code></pre>
  
  <p>I want to get the id of this link when I click, this is my jQuery: </p>
  
  <pre><code>$(function() {
  $('.bulletinLink').on('click',function(event){
      var id = $(this).attr('id');
      alert(id);
  })
  });
  </code></pre>
  
  <p>When I click in the link, it doesn't fire the jQuery function, what am I missing?</p>