jquery ui - Datepicker returning uncaught typeError: undefined 'currentDay' -
i've been using jquery ui bootstrap , seem run problem haven't had before. i'm not sure has changed; i've tried setting different version of jquery , didn't update jquery ui in meanwhile. i'm not sure broke.
the error console when click on date in datepicker returns:
uncaught typeerror: cannot set property 'currentday' of undefined
the code straightforward 1 expect datepicker:
$(".datepicker").datepicker({ dateformat: 'dd-mm-yy' });
with following html:
<input type="text" class="datepicker" />
is bug should reported (since no other google matches turn up) or else i've missed?
i've found solution. after long time of debugging figured out there <div>
had exact same id
, lying higher input field. therefore script took first instance contained id
, picked div
instead of input
field.
i removed/renamed div
, worked fine again.
Comments
Post a Comment