title: Active & Inactive class add & remove
body: <p>I need to add &amp; remove class on click of anchor tag.</p>
  
  <pre><code> &lt;div class="activeTab"&gt;
      &lt;a href="#." class="active"&gt;Active&lt;/a&gt;
      &lt;a href="#."&gt;Inactive&lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Above div has two anchor tags &amp; "Active" &amp; "Inactive" one has a class 'active'. my requirement is need to remove that 'active' class on click of  "Inactive" anchor tag &amp; add the class 'active' to that clicked "Inactive" anchor and if I clicked on "Active" anchor again the class will remove form "Inactive" anchor &amp; will add to the "Active" anchor. with jquery.</p>