jQuery Datepicker fails because it doesn’t use Widget Factory
Our developer decided to code a jQuery plugin. This allowed us to harness the power of jQuery for basic and common functions, so we could focus on writing the desired features. Writing a jQuery plugin also meant using the User Interface (UI) controls included in the library.
Having completed roughly 60% of the project, we encountered a bug in the jQuery UI Datepicker: the dialog failed to change the date, making scheduling anything impossible. Looking into the code, we found nothing, but research showed the Datepicker failure a known problem with no obvious solution:
Unlike other jQuery UI widgets, Datepicker didn’t fire the “create event” function because it didn’t come from their Widget Factory utility. Our developer wrote a middle layer between the two controls and resolved the issue.