I'm seeing several second response times from the code.jquery.com. Completely unsuitable for production use. As far as I can tell there is no google-hosted version. Is there a reason for that?
While debugging a problem I was having with the jQuery UI datepicker, I ran into a problem apparently caused by the way datepicker uses the class 'hasDatepicker'.
E.g. if I have something like -
jQuery('input.date_field').datepicker()
the class 'hasDatepicker' gets added to the selected field. However if I subsequently remove the field from the page temporarily, e.g. something like -
the datepicker is no longer attached to the field, so I have to call datepicker() on the fields again. However, it seems that doing so has no effect if the field already has the class 'hasDatapicker' - which it does. So I actually have to remove the class before I call datepicker() -