I am trying to achieve this (90 degree rotation), but it fails without errors. This image is within a TAG where it has already a toggle jque
checkout this: JqueryRotate
this have little things to do, you can see one code example in the image itself.
So in your case you can do this:
$(document).ready(function(){ $('img[src^="down_arrow"]').click(function(){ $(this).rotate(90); }); });