whenever i enter space in the text box in my form , i get NAN. since space is not a number.
i would to use use jquery's inbuilt trim fucntion for my input text fields .
like as "value = value.trim(); "
in FF it works great. however in IE8 it gives some JS unsupported object error. i tried to use jquery.validate.js & jquery.1.4.2.js . however nothing seems to be working. any clues?