摘要:
validate: function(value) { var pattern = /[`~!@#$%^&*()_+<>?:"{},.\/;'[\]]/im; if (value '' || value null) return false; if (pattern.test(value)) { r 阅读全文
摘要:
Date.prototype.Format = function (fmt) { //author: meizz var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), // 阅读全文