摘要: function CheckDateFormat(_value) { //var a = /^(\d{4})-(\d{2})-(\d{2})$/; // var a = /^(\d{4})(-|\/)(\d{2})(-|\/)(\d{2})$/; var a = /^(\d{4})(\/)(\d{2})(\/)(\d{2})$/; if (!a.test(_value)) { // alert("日期格式不正确!") alert("... 阅读全文
posted @ 2013-03-25 10:09 汉城 阅读(246) 评论(0) 推荐(0) 编辑