Skip to main content
Hi

I am getting the following error for jquery date picker in visualforce page and this error is only happening in Capetown, but the same page is working in Australia.

Uncaught TypeError: $(...).datepicker is not a function

Any suggestion or ideas on why this is happening?

 
3 answers
  1. Aug 13, 2017, 5:23 PM
    Selva,

    What do you mean by working in Capetown but not in Australia can you explain me this once please.

    Uncaught TypeError: $(...).datepicker is not a function - Basically this error occurs when the library is not loaded, datepicker is a function implemented in jqueryUI javascript file. So before triggering the $(...).datepicker function you need to make sure that the library is loaded first.

    Hope this helps you.