I'm trying to rotate a icon when i click on a link next to the icon.
The idea is when I click on the link, the icon rotate and the content slide down. I have manage to make the content slide down but I can't get the icon to rotate in the same script.

This is the script:

```
<script>
$(function(){
  $(".change_delivery_address").click(function(){
$(".spm").slideToggle();
  });  
});

```

This is de html:

```
<div class="change_delivery_address"><h6>Choose another delivery address<img src="images/layout-            img/menu-icons/arrow_carrot-right.png"></h6>

</div>

```

The CSS:

```
.change_delivery_address h6{
cursor: pointer;
color: #3274f4;
margin-top: 20px;
    padding-top: 5px;
    padding-left: 20px;

}

.change_delivery_address h6:active{
background: none;
}

.spm {

display: none;
}

```

Hope you someone can help me out with this thanks.