<ul>
<li class="first"><a href="#">Modify search</a>
</li>
<li><a href="#">For <span>Select</span><span style="float:right; padding-right:10px;">▼</span></a>
<ul> <span><a href="#">Girlfriend</a></span> <span><a href="#">Boyfriend</a></span> <span><a href="#">Husband</a></span> <span><a href="#">Wife</a></span>
<span class="cl"></span> <span><a href="#">Mother</a></span> <span><a href="#">Father</a></span> <span><a href="#">Daughter</a></span> <span><a href="#">Son</a></span>
<span class="cl"></span> <span><a href="#">Friend (M)</a></span> <span><a href="#">Friend (F)</a></span> <span><a href="#">Colleague (M)</a></span> <span><a href="#">Colleague (F)</a></span>
<span class="cl"></span> <span><a href="#">Nephew</a></span> <span><a href="#">Niece</a></span> <span><a href="#">Aunt</a></span> <span><a href="#">Uncle</a></span>
<span class="cl"></span>
</ul>
</li>
</ul>
我想要做的是每当我选择任何值时,它必须突出显示,并且应该显示在过滤器中。
例如,如果我选择女朋友 For : select 应该看起来像 For : girl