auto_complete and Prototype

We've got a site running on Rails 2.2.2 with Prototype that uses the rails/auto_complete plugin from github. We just discovered that, in IE7 (haven't tried IE8 yet), when a user types a name into the auto_complete text field, the query gets sent to the server fine and the server returns it's results fine, but then IE doesn't do anything with it. As far as the user can tell, absolutely nothing happened. If, after that first request, the user then changes the text in the text field, a new query is initiated, and from then on (until the page is reloaded) auto_completing works just fine.

On a whim, downgraded Prototype to, and suddenly IE started behaving properly.

I find it hard to believe that we're the only one's experiencing this. Has anyone else seen this? Or are there really that few developers that are using auto_complete in conjunction with Prototype that have also bothered to check to see if it works in IE?

I guess it depends on how you have it coded. Some of the autocomplete stuff was moved out into a plugin which may not be maintained anymore.

Yeah, I’m using that plugin. But the point is that whether or not it works doesn’t depend on the plugin, it depends on the version of Prototype. It doesn’t work with Prototype or, but I can’t believe this has been an issue since January 2008 (when was released) and nobody’s noticed until now.

Brian Hogan wrote: