I know the Isdate can judge the input,but it is vbscript. I wonder judge
with Javascript.Is there any function can do it?

Thanks.