Datepicker returning uncaught typeError: undefined 'currentDay'

后端 未结 8 1487
有刺的猬
有刺的猬 2020-12-09 14:28

I\'ve been using jQuery UI with Bootstrap and I seem to run into a problem that I haven\'t had before. I\'m not sure what has changed; I\'ve tried setting back different ver

8条回答
  •  天涯浪人
    2020-12-09 15:15

    In my case I was triggering the datepicker from a div against a hidden input field and getPos(a) was causing an undefined message on the variable "a". I experimented with moving the hidden input field outside of a div and that did the trick. Note that the input field was findable by jQuery no matter where it was, so that was not the problem - it was with positioning. Hope this helps someone else.

提交回复
热议问题