i have an ajax form
i know i can use like
return str = str.replace(/\D/g,'');
to strip stuff before submit
whats the best way to stop form submit when characters that are not alphabetic or numeric are inputed
my the ajax search form is at vitamovie.com/movies
When submitting, you can run this on the values: