Feb 20, 2014, 12:35 AM
[CLOSED] how to remove class to a tag add and a special class to a tag?
hi team
i want to remove all class="sc_sy" tag in a tag under ul.sc_nav, and add class="sc_sy" tag to the id="nav_4", how to do using ext.net or extjs?
i want to remove all class="sc_sy" tag in a tag under ul.sc_nav, and add class="sc_sy" tag to the id="nav_4", how to do using ext.net or extjs?
<ul class="sc_nav">
<a id="nav_1" href="/" class="sc_sy" title="网站首页">网站首页</a>
<a id="nav_2" href="servs.aspx" title="服务内容">服务内容</a>
<a id="nav_3" href="cases.aspx" title="精彩案例">精彩案例</a>
<a id="nav_4" href="compcol.aspx?cid=48" title="新闻资讯">新闻资讯</a>
<a id="nav_5" href="about.aspx" title="关于奇卓">关于奇卓</a>
</ul>
Last edited by Daniil; Feb 25, 2014 at 3:46 AM.
Reason: [CLOSED]