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");
精彩评论