A new removeClasses utility for MooTools
MooTools’ removeClass
utility will only work if the classes you want to remove are listed in the same order as the target element’s className
property. Here’s a new removeClasses
utility that fixes this shortcoming. A framework-neutral version is also provided.