I’m looking for some insight on why my text_field_with_auto_complete
might not work in Internet Explorer. I’m using it in a fairly simple
way, without much customization.
I’ve broken it down and made a test page at
http://realty.colemanation.org/houses/test which shows the behavior I’m
having problems with. For me on Windows XP this page works fine in
Firefox, with the autocomplete fields finding their values from the
database and doing what they should. In Internet Explorer there’s no
autocomplete behavior at all.
(Note: the Cities and Zips are in TX, “Austin” and “Houston” should
work, as should “78731” and “77004”.)
I’m referencing a model called House which has the attributes ‘city’ and
<%= start_form_tag(:controller => ‘houses’, :action => ‘find’) %>
City <%= text_field_with_auto_complete :house, :city, :size => 20
Zip <%= text_field_with_auto_complete :house, :zip, :size => 10
<%= end_form_tag %>
My controller contains the relevant declarations:
auto_complete_for :house, :city auto_complete_for :house, :zip
If anyone has any ideas how this works, I’d be grateful.