title: jQuery Rotate Function with jcrop
body: <p>I am using jcrop with jquery but also want to use jQueryRotate(2.2).Cropping is working fine but rotate is not working.I have two button 1)crop and another for rotate.The rotate will rotate image clockwise and anti clockwise</p>
  
  <pre><code>&lt;form&gt;
  &lt;input type="hidden" size="4" id="x1" name="x" /&gt;
  &lt;input type="hidden" size="4" id="y1" name="y" /&gt;
  &lt;input type="hidden" size="4" id="x2" name="x2" /&gt;
  &lt;input type="hidden" size="4" id="y2" name="y2" /&gt;
  &lt;input  type="hidden" size="4" id="w" name="w" /&gt;
  &lt;input type="hidden" size="4" id="h" name="h" /&gt;
  &lt;img src="test.jpg" id="photo"  &gt;
   &lt;input type="submit" name="sub12" value="Save Cropped Image" class="save" /&gt;
  &lt;input type="button" name="rotate1" value="Rotata" onclick="javascript:rot1()"   /&gt;
  &lt;/form&gt;
  
  jQuery(function($){
  $('#photo').Jcrop()
  
  });
  
  function rot1()
  {
     $("#photo").rotate(45);
  }
  </code></pre>
  
  <p>please help</p>