search for: remove_classname

Displaying 1 result from an estimated 1 matches for "remove_classname".

2005 Nov 09
1
Element.removeClassName(..) - bug or incorrect usage?
..."); to achieve this. This call does remove the specified class name. So far so good. But after the call, instead of a space, the remaining classes are separated by a "," and IE and FF do not apply these remaining classes. The problem is better represented at http://katdare.com/temp/remove_classname.html Now, in prototype.js (1.4.0_rc1), if I change the following snippet remove: function(classNameToRemove) { if (!this.include(classNameToRemove)) return; this.set(this.select(function(className) { return className != classNameToRemove; })); }, to remove: function(classNam...