eyecon date picker plugin - doesnt show dates?
Hello,
Still a bit of a jquery newbie here,
I'm making a form and using the date picker plugin by eyecon. But when the calendar pops out, instead of seeing the month and dates, It just repeatedly prints 'NaN'. This is super freaky and I cant figure out why.
Here is a link to the page
http://mizirawi.com/merit-limousine/reservations.php. Just scroll down to start day and end day under trip information and click on the input box and you'll see what I mean.
I hope someone out there is familiar with this plugin because it was super easy to implement and the code is really clean.
http://www.eyecon.ro/datepicker/#implement.
Here is my js invocation code looks like
-
$('.startDay').DatePicker({
format:'d/m/Y',
date: $('#startDay').val(),
starts: 1,
position: 'right',
onBeforeShow: function(){
$('#startDay').DatePickerSetDate($('#startDay').val(), true);
},
onChange: function(formated, dates){
$('#startDay').val(formated);
$('#startDay').DatePickerHide();
}
});
Thanks bunches for any help[/code][/url]