title: Remove All classes From Div
body: <p>Is there any way to remove all classes from div ... on click of image. I want to remove all the classes from it.</p>
  
  <p>Please Help,</p>
  
  <pre><code>$(document).ready(function () {
      $("img").click(function(){
          var pos=$('img', this).attr('alt');
          alert('i am imageFlip'+this.alt);           
  
          console.log('i am Image Flip');
          var t = $(this);
  
          t.prevAll().removeClass('lower').addClass('t1');
          t.nextAll().removeClass('t1').addClass('t2');
      });
  });
  </code></pre>
  
  <p>Here in my code, I want to remove all classes from <code>$(this)</code>.</p>