摘要:
//格式化字符串为日期格式function formatDate(date){ return new Date(Date.parse(date.replace(/-/g, "/")));}//输出比较结果alert(formatDate2("2013-10-19 17:00:00")>formatDate2("2013-10-19 18:30:00")); 阅读全文
posted @ 2013-10-19 16:44
求知若渴,虚怀若愚
阅读(194)
评论(0)
推荐(0)
摘要:
/* 锚点跳转 */function anchor(p,fn) { $("html,body").animate({ scrollTop: $("#" + p + "").offset().top }, 1000,fn);} 阅读全文
posted @ 2013-10-19 09:13
求知若渴,虚怀若愚
阅读(302)
评论(0)
推荐(0)

浙公网安备 33010602011771号