tags:

views:

45

answers:

1

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 the onclick event i want to remove all the "highlight" classes. How can i do it? Please help me

+4  A: 

easy.

document.id("result").getElements(".highlight").removeClass("highlight");
Dimitar Christoff
Damn Dimitar, You're on-top of all the Mootools Questions.
Chase
thanks a lot, it works for me..
Ela