标签:div val date 不能 var layer ace color col
1 var CLSJ=$(‘[name=yjry\\.CLSJ]‘).val(); 2 var GXSJ=$(‘[name=yjry\\.GXSJ]‘).val(); 3 var d1 = new Date(CLSJ.replace(/\-/g, "\/")); 4 var d2 = new Date(GXSJ.replace(/\-/g, "\/")); 5 6 if(CLSJ!=""&&GXSJ!=""&&d1 >d2){ 7 layer.alert("成立时间不能大于更新时间!"); 8 return; 9 }
标签:div val date 不能 var layer ace color col
原文地址:http://www.cnblogs.com/123456puke/p/7988001.html