|
Most importantly, you can't have multiple functions with the same name in the same scope. Change that, so the code is sensible enough for us to see what you're trying to do.
Once you've done that, you might also want to tell us what you expect your code to do vs. what it's actually doing.
__________________
.My new Javascript tutorial site: http://reallifejs.com/
.Latest article: Calculators — Tiny jQuery calculator, Full-fledged OOP calculator, Big number calculator
.Latest quick-bit: Including jQuery — Environment-aware minification and CDNs with local fallback
|