Displaying 1 result from an estimated 1 matches for "get_names_for_zip".
2006 Apr 01
1
piggybacking an action on an autocompleted field
...t I
wonder if there is a simpler/more elegant way?
Any idea?
TIA
Alain
The observer solution (that doesn''t work):
<%= text_field_with_auto_complete :city, :zip %>
<%= observe_field("city_zip",
:frequency => 0,
:url => { :action => :get_names_for_zip }, <<<---- IS NEVER
CALLED
:with => "''zip=''+value") %>
--
Posted via http://www.ruby-forum.com/.