开发者

mootools recursive remove class

I want to remove classes in the particular div. I mean i have to remove the classname called "highlight" in the div id called "result". In开发者_C百科 the onclick event i want to remove all the "highlight" classes. How can i do it? Please help me


easy.

document.id("result").getElements(".highlight").removeClass("highlight");
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜