I want no popup but also can choose the date
the code like this:
$('#calendar').calendar({
type : 'date',
startMode: 'day',
inline: true,
disableMinute:true,
formatter: {
date: function (date, settings) {
var day = (date.getDate()).toString();
var month = (date.getMonth() + 1).toString();
var year = date.getFullYear();
$.get('/', {date: date} );
}
},
but I got wrong message like this
TypeError: Cannot read property 'apply' of undefined
at Object.popup (calendar.min.js:1)
at Object.selectDate (calendar.min.js:1)
I want no popup but also can choose the date the code like this: $('#calendar').calendar({ type : 'date', startMode: 'day', inline: true, disableMinute:true, formatter: { date: function (date, settings) { var day = (date.getDate()).toString(); var month = (date.getMonth() + 1).toString(); var year = date.getFullYear(); $.get('/', {date: date} ); } },
but I got wrong message like this TypeError: Cannot read property 'apply' of undefined at Object.popup (calendar.min.js:1) at Object.selectDate (calendar.min.js:1)