logo

Response

« Return to the main article

You are viewing this page out of context. To see it in the context it is intended please click here.

About This Page

Reply posted by dook on Tue 6 Aug 2002 in response to JavaScript Form Validator R2.0

Re: JavaScript Form Validator R2.0

I had trouble getting Validate function to work properly for all months. I had
to replace the


parseInt(dateBits[1])


with simply


dataBits[1]


in the three New Date calls in the valiDate function. Seems to work fine
without the parseInt. Is there some reason why parseInt is needed here?