jQuery validate 日期比较 自定义验证方法

DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
< HTML >
 
< HEAD >
  
< TITLE >  New Document  TITLE >
  
< META  NAME ="Generator"  CONTENT ="EditPlus" >
  
< META  NAME ="Author"  CONTENT ="" >
  
< META  NAME ="Keywords"  CONTENT ="" >
  
< META  NAME ="Description"  CONTENT ="" >
  
< script  type ="text/javascript"  src ="jquery-1.4.2.js" > script >
  
< script  type ="text/javascript"  src ="jquery.validate.js" > script >
  
< SCRIPT  LANGUAGE ="JavaScript" >
  

   SCRIPT >
 
HEAD >

 
< BODY >
 
< form  id ="form1"  name ="form1"  method ="post"  action ="demo.html" >
   
< p > timeStart:
     
< input  name ="timeStart"  type ="text"  id ="timeStart"  value ="2011-02-17 10:00:00" >  yyyy-MM-dd HH:mm:ss
   
p >
   
< p > timeEnd:
     
< input  name ="timeEnd"  type ="text"  id ="timeEnd"  value ="2011-02-17 9:00:00" >  yyyy-MM-dd HH:mm:ss
   
p >
   
< p >
     
< input  type ="submit"  name ="Submit"  value ="提交" >
   
p >
 
form >
  
 
BODY >
HTML >

你可能感兴趣的:(jQuery validate 日期比较 自定义验证方法)