title: Add and remove class onClick action
body: <pre><code> &lt;button class="fbutton btn pull-right filterevents " id="one" &gt;School Events&lt;/button&gt;
    &lt;button class="fbutton btn pull-right filterevents" id="two" &gt;Zone Events&lt;/button&gt;
    &lt;button class="fbutton btn pull-right filterevents" id="three" &gt;My Events&lt;/button&gt;
  </code></pre>
  
  <p>I need to  add class "selected" to specific button onClick. </p>
  
  <p>my code is </p>
  
  <pre><code>$("#one").click(function(e) {
                  $(this).addClass("fcurrent");
                  $("#two").removeClass("fcurrent");
                   $("#three").removeClass("fcurrent");
     });
  </code></pre>
  
  <p>if i use instead of id to class like following , </p>
  
  <pre><code>$(".fbutton").click(function(e) {
                      $(this).addClass("fcurrent");
         });
  </code></pre>
  
  <p>then how to remove the fcurrent class to another two buttons</p>