title: Make callback of element Jquery
body: <p>I'm bad in java-script so sorry for simple question. 
  I have button and I need to call it and take (show) an id (number) and after hide it.</p>
  
  <p>I have got this line : </p>
  
  <pre><code>&lt;div id="follow_21" class="button rounded" title=""&gt;Follow&lt;/div&gt;
  </code></pre>
  
  <p>I do not know how to call (onclick) or other way this button and take only 21 and show it in alert('');</p>
  
  <p>I tried onclick="follow() : </p>
  
  <pre><code>&lt;div onclick="follow(21)" class="button rounded" title=""&gt;Follow&lt;/div&gt;
  </code></pre>
  
  <p>and function : </p>
  
  <pre><code>function follow(event){
      alert(event);
  }
  </code></pre>
  
  <p>alert works good but I don't know how to hide() element by clicking on it.
  Suppose you will help me</p>