摘要:
$(document).ready(function(){ // 兼容IE9下的placeholder function placeholderSupport() { return 'placeholder' in document.createElement('input'); } if(!pla 阅读全文
posted @ 2018-07-18 17:09
努力才会进步
阅读(162)
评论(0)
推荐(0)
摘要:
/*两个日期之间差几天*/function DateDiff(sDate1, sDate2) { //sDate1和sDate2是yyyy-MM-dd格式 var aDate, oDate1, oDate2, iDays; aDate = sDate1.split("-"); oDate1 = ne 阅读全文
posted @ 2018-07-18 10:42
努力才会进步
阅读(952)
评论(0)
推荐(0)
摘要:
var now = new Date(); //当前日期var nowDayOfWeek = now.getDay(); //今天本周的第几天var nowDay = now.getDate(); //当前日期号var nowMonth = now.getMonth(); //当前月var nowY 阅读全文
posted @ 2018-07-18 10:39
努力才会进步
阅读(384)
评论(0)
推荐(0)
浙公网安备 33010602011771号