If I have code like this inside my view page

```
<li>
     <a class="selected" href="/">Some link</a>
</li>

```

how can I use jquery to find this element (with selected class) and append to it's parent li element some css class, result should be like this

```
   <li class="some-class">
      <a class="selected" href="/">Some link</a>
    </li>

```