Created 03/2002
camelCase <-> selector-case in JavaScript w/o Regex
Scott Andrew pointed to Tim Morgan's camelCase <-> selector-case functions. Screaming Jedi cool. But they use JavaScript regular expressions. JavaScript regular expressions I've never gotten cozy with. Perhaps I should seek counseling. Love the Regular Expressions in PHP and Cold Fusion though.
Anyway, here are some alternative functions, and a demonstration too. More on camelCase.
Useless.
Share and enjoy.