js或jq+html+css控制a链接点击后变化背景色
<divid="select"><ulclass="select"><liclass="select-result"><dl><dt>已选择:</dt><ddclass=...
<div id="select">
<ul class="select">
<li class="select-result">
<dl>
<dt>已选择:</dt>
<dd class="select-no">暂时没有选择过滤条件</dd>
</dl>
</li>
<li class="select-list">
<dl id="select1">
<dt>按语言:</dt>
<dd class="select-all selected"><a href="/vod-list-id-12-pg-1-order--by--class-0-year-0-letter--area--lang-.html">全部</a></dd>
<dd><a href="/vod-list-id-12-pg-1-order--by--class-0-year-0-letter--area--lang-%E5%9B%BD%E8%AF%AD.html">国语</a></dd><dd><a href="/vod-list-id-12-pg-1-order--by--class-0-year-0-letter--area--lang-%E5%9B%BD%E8%AF%AD.html">粤语</a></dd>
</dl>
</li>
<li class="select-list">
<dl id="select2">
<dt>按年份:</dt>
<dd class="select-all selected"><a href="/vod-list-id-12-pg-1-order--by--class-0-year--letter--area--lang-.html">全部</a></dd>
<dd><a href="/vod-list-id-12-pg-1-order--by--class-0-year-2014-letter--area--lang-.html">2014</a></dd><dd><a href="/vod-list-id-12-pg-1-order--by--class-0-year-2013-letter--area--lang-.html">2013</a></dd>
</dl>
</li>
</ul>
</div>代码如此,如何写js或者调用jq 展开
<ul class="select">
<li class="select-result">
<dl>
<dt>已选择:</dt>
<dd class="select-no">暂时没有选择过滤条件</dd>
</dl>
</li>
<li class="select-list">
<dl id="select1">
<dt>按语言:</dt>
<dd class="select-all selected"><a href="/vod-list-id-12-pg-1-order--by--class-0-year-0-letter--area--lang-.html">全部</a></dd>
<dd><a href="/vod-list-id-12-pg-1-order--by--class-0-year-0-letter--area--lang-%E5%9B%BD%E8%AF%AD.html">国语</a></dd><dd><a href="/vod-list-id-12-pg-1-order--by--class-0-year-0-letter--area--lang-%E5%9B%BD%E8%AF%AD.html">粤语</a></dd>
</dl>
</li>
<li class="select-list">
<dl id="select2">
<dt>按年份:</dt>
<dd class="select-all selected"><a href="/vod-list-id-12-pg-1-order--by--class-0-year--letter--area--lang-.html">全部</a></dd>
<dd><a href="/vod-list-id-12-pg-1-order--by--class-0-year-2014-letter--area--lang-.html">2014</a></dd><dd><a href="/vod-list-id-12-pg-1-order--by--class-0-year-2013-letter--area--lang-.html">2013</a></dd>
</dl>
</li>
</ul>
</div>代码如此,如何写js或者调用jq 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询