I'm having some difficulty selecting the a element inside the second li via jquery.
<ul id="pf-filters" class="pf-option-set clearfix" data-option-key="filter">
<li>
<a class="selected" href="#filter" data-option-value="*">Everything</a>
</li>
<li>
<a href="#filter" data-option-value=".current">Current</a>
</li>
<li>
<a href="#filter" data-option-value=".world">World</a>
</li>
</ul>
Via jquery I'm trying to select it by doing:
$("#pf-filters li:nth-child(2) a").click();
but i'm not getting (the filter in this case) to change. If you need more details about the problem please ask.