2013年4月26日
摘要: 1、在循环中删除数组一个元素。 splice(i--, 1);2、时间格式化。 new Date().format("yyyy-MM-dd hh:mm:ss"); new Date().format("yyyy年MM月dd日 hh时mm分ss秒");Date.prototype.format = function (fmt) { //author: meizz var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+&q 阅读全文
posted @ 2013-04-26 17:20 jian_xie 阅读(155) 评论(0) 推荐(0) 编辑