Is the initial value in the textbox in the same format the datepicker would put into the textbox if a date was selected? (e.g. 4/03/2010, and not 4/03/2010)
On Jul 17, 8:30 am, sankofa <ssank...@gmail.com> wrote: > I have succesfully applied the datepicker to a blank textbox. > > However, when I apply the datepicker to a textbox with the initial > value dynamically set to display a value from a database, the date > picker genertes an error when anything on it is selected. > > The datepicker will display when the trigger icon is selected but you > cannot select anything from the date picker without generating the > following errors: > > When selecting: > > a day: 'undefined' is null or not an object (ui.datepicker.js line > 767) > > a month or year: 'input' is null or not an object (ui.datepicker.js > line 755) > > a back or forward arrow: 'settings' is null or not an object (u.i > datepicker.js line 1137) > > I have looked at these lines in the file, but I have no idea where to > begin.