ZeroField
8
simple find and replace string
8
Format fractional digits in a numbe
7
Just a small snippet I discovered when I was tired writing somearrayname\[i\] I thought there was something like foreach in javascript but couldn't find any so why not make one?
For those foreach(){...} lovers.
Hope it makes your life easier.
For those foreach(){...} lovers.

Hope it makes your life easier.
7
A websafe colour palette generator in JavaScript. Coded this after looking at http://www.bytemycode.com/snippets/snippet/585/ and wanting to do it differently.
It's been refactored so that:
* can pass generateColourPalette an arbitrary array of colour codes and it'll generate a palette.
* it hooks into the page through the external file
* uses an internal stylesheet instead of inline styles
It's been refactored so that:
* can pass generateColourPalette an arbitrary array of colour codes and it'll generate a palette.
* it hooks into the page through the external file
* uses an internal stylesheet instead of inline styles
7
Returns an array with all the objects with certain class. tested on IE 6 and Firefox 2
7
I use this function when passing an array to a function being called from setTimeout();
7
Alternate row coloring using javascript
7
check if a function exists in your code using javascript before calling it.
7
convert a string to x,y,z types
6
Toggles the visibility of an HTML element. Should be part of everyone's javascript toolkit









