Skip to main content
Selva Selladurai (iSelect) 님이 #Visualforce에 질문했습니다
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개
  1. 2017년 8월 13일 오후 5:23
    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.