>   $(this).addClass("SML".charCodeAt(this.value.length%5)||"L");

Change charCodeAt to .charAt ... duh.

Reply via email to