Open GoogleCodeExporter opened 8 years ago
Sorry, a small error was included with the example link: a js method is called,
which isn't defined. removed it from the weblink's source code, but it is still
present.
Original comment by christia...@gmail.com
on 16 Aug 2011 at 9:28
I can't see what is happening with the error on the demo page. Can you fix the
error and re-upload?
Also, I notice that you have an onload attribute on the body tag. This could
possibly interfere with jQuery's own onload/ready stuff. Try removing it and
making the script at the top of your page look something like this:
jQuery.noConflict();
jQuery(window).bind(
'load',
function()
{
jQuery(jQuery('#calendar-container')).datePicker(
{
inline:true,
selectMultiple:true,
startDate: new Date(),
numSelectable:3
}
).bind(
'dateSelected',
function(e, selectedDate, $td, state)
{
console.log((state ? '' : 'un') + 'selected ' + selectedDate);
}
);
}
);
Original comment by kelvin.l...@gmail.com
on 16 Aug 2011 at 8:04
Original issue reported on code.google.com by
christia...@gmail.com
on 16 Aug 2011 at 9:23Attachments: