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
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.