I am trying to append span tag inside `.block-leftnav ul li .parent a`, so the tag gets added only after the `.parent a` but what jquery does is, it adds the span tag after every a href tag on my page.

Below is the code I am using to acheive what I want:

```
jQuery(document).ready(function() {
    jQuery('.block-leftnav ul li .parent > a').append('<span class="glyphicon arrow"></span>');
});

```

It was a simple fix, I figured it out myself and also updated the above code. Just had to add the ">" before the "a" to target the anchor tags of that particular div. 

Thanks Guys for your prompt response.