Nim
Projets et humeurs

(Français) geo-django-fla

Étienne Loks – January 03, 2012

Sorry, this entry is only available in Français.

Comment (0)
Tags:
January 03rd, 2012 11:57:30

JQuery UI Autocomplete and JQuery UI DatePicker bad interactions

Étienne Loks – June 11, 2011

While working on a new project (some news about it soon, I hope) I have encountered problems with JQuery UI Autocomplete and JQuery UI DatePicker. The two of them seem to interact badly when used on the same page. Precisely the problem occurs sometimes (it is really erratic) when an autocomplete field is initialized after a datepicker field. This occurs with jQuery 1.4.2 and JQuery-UI 1.8 but I have tried with the latest version of jQuery (1.6.1) and the behavior is the same.

As a small fix I chose to initialize datepicker fields after autocomplete fields by using $(window).load for datapickers instead of $.ready. I’ll try to identify the problem more precisely to submit it but while it’s pending this solution may help.

Comment (0)
Tags: ,
June 11th, 2011 12:46:40