title: rotate an image multiple times on click with jquery
body: <p>I am trying to rotate an image using jquery that will rotate on multiple mouse clicks. Using the <a href="http://code.google.com/p/jquery-rotate/" rel="nofollow">jquery-rotate</a> plugin, the following code only rotates the image once (transforming to a canvas in firefox) and will no longer rotate on further clicks.</p>
  
  <pre><code>$(".drag-and-rotatable img").click(function() {
      $(this).rotate(45);
  });
  </code></pre>
  
  <p>I'm open to using other JavaScript libraries.</p>