// 设置生日
$("#birthday").calendar({
onDayClick: function (p, dayContainer, year, month, day) {
month = parseInt(month) + 1;//月份转为数字后加1
var val = $("#birthday").val();
if (val !== year + '/' + month + '/' + day) {
console.log(year + '/' + month + '/' + day)
submit('birthday', year + '/' + month + '/' + day, 'birthday');
}
}
});
文件地址:resources/views/member/wap/setting.blade.php 503行;
文件下载:http://bbs.qihucms.com/thread-73-1-1.html