I am using the Chosen library. I have a long hierarchy select drop down list of parent and child items. It is automatically populated. I want to hide all li’s containing text that starts with a dash character, example -General Discussion. I would also like to scope the hiding to only inside of the ul class name chosen-results.
<ul class="class="chosen-results">
//Below is the li of a child (I want to hide this li)
<li class="active-result" data-option-array-index="4">-General
Discussion</li>
//Below is the li of a parent ( I want to leave this alone)
<li class="active-result" data-option-array-index="0">Accident Prevention
</li>
</ul>