title: Trying to rotate a button in jquery?
body: <p>I'm trying to rotate a button in jquery!</p>
  
  <p>This is what I've created on jsfiddle</p>
  
  <p><a href="http://jsfiddle.net/QVKjt/1/" rel="nofollow">http://jsfiddle.net/QVKjt/1/</a></p>
  
  <p>jquery code</p>
  
  <pre><code>$("#no").rotate({ 
      angle:0,
          bind: {
              click : function(){
                  var curAngle = parseInt($(this).getRotateAngle());
                  $(this).rotate({
                      angle: curAngle,
                      animateTo: curAngle + 30
                  });
              }
          }
     });
  </code></pre>