Question: getting error datepicker is not a function?
Answer: If you have a plugin that does not work with close-to-current jQuery, it's time to find an update or another plugin. jQuery is up to version 1.11.