An easy fix for the punctuation problem.
Just change the line
var words = fld.value.split(/\s/);
into
var words = fld.value.split(/[^a-zA-Z]/);
That works by simply getting rid of all punctuation. Heh. Not a great solution, but we have to start someplace. <grin/>
|