Permalink
Browse files

Prototype functions added

  • Loading branch information...
1 parent 156869e commit ab3c93690b3c77ec0d4f6d33f26463001e3a7e49 @milardovich committed Mar 10, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 Javascript/Prototype/RemoveAllClasses.js
@@ -0,0 +1,6 @@
+function RemoveAllClasses(divid){
+ var classes = $(divid).classNames().toArray();
+ for (var index = 0, len = classes.size(); index < len; ++index){
+ $(divid).removeClassName(classArray[index]);
+ }
+}

0 comments on commit ab3c936

Please sign in to comment.