Profile
Achievement
kouphax's Recent SnippetsTagged array
- All /
« Prev 1 Next »
remove(array) --> array
Array.remove(a) simply removes all the items in the passed in array from the current scope array. Good for bulk operations.
0
776
posted 16 years ago by kouphax
This function will sort an array of DOM elements in order of the DOM position. Useful when using calls such as $$("img.L,img.M") which doesn;t return a sorted element array.
It uses prototype but you can replace the Prototype.Browser stuff with a...
0
1100
posted 16 years ago by kouphax