Displaying 2 results from an estimated 2 matches for "_auto_complete_field_".
2006 Apr 02
13
autocompletion: hooking ''afterUpdateElement'' in Rails
...javascript code
to this event in Rails code (I''d like to keep using the helper, if
possible)?
I tried passing many variations of
:after_update_element=>
"alert(''after_update_element action'')"
in _text_field_with_auto_complete_ and _auto_complete_field_ to no avail.
Any hint?
TIA
Alain
2006 Apr 01
1
piggybacking an action on an autocompleted field
Hi everybody,
I''d like to add a custom action to be triggered after/when an
autocompleted field has been/is beeing updated by the autocompletion
process.
I tried the obvious - a field observer -, but it doesn''t work (see code
below). I know I could write the autocompletion code myself, but I
wonder if there is a simpler/more elegant way?
Any idea?
TIA
Alain
The