This causes query to run, indicator to show, and callbacks to fire. To
recreate behavior, when focus in on autocomplete field, use KEY_SHIFT
+ KEY_TAB to 'tab up' a field. Behavior is not stopped until user
again focus/unfocus on autocomplete field.
Change of line to 'keypress' instead of 'keydown' stops behavior from
occurring, but creates new issues with non-Mozilla browsers: arrow
keys will no longer work to select from dropdown list in IE, but works
in Firefox. : -) Rails info here:
http://rknowsys-ror.blogspot.com/2008/09/auto-complete-issue-with-non-mozilla.html
I opted to change keydown to keypress. Poor IE users must use mouse to
select from dropdown. Otherwise unexpected firing of callback was a
real problem in my app.
Behavior previously noted in this message:
http://groups.google.com/group/prototype-scriptaculous/browse_thread/thread/53d644ff3674f8d2/7c3c3ca7896b6d55?hl=en&lnk=gst&q=autocomplete+tab+up#7c3c3ca7896b6d55
Related ticket exists, but reason given for change of keydown to
keypress are not reasons stated above.
https://prototype.lighthouseapp.com/projects/8887/tickets/231-ajaxautoloader-should-use-keypress-instead-of-keydown
Thanks for your patience with my first post to this group. :-)