Dave Methvin Mon, 31 Dec 2007 20:32:46 -0800
> $(this).addClass("SML".charCodeAt(this.value.length%5)||"L");
Change charCodeAt to .charAt ... duh.