Hi,
I am discovering RoR with Ajax and have some problem. I wanted to use the
helper "text_field_with_auto_complete" I didn t succed to obtain the
visual
render (a drop down list) like here
"http://demo.script.aculo.us/ajax/autocompleter"<http://demo.script.aculo.us/ajax/autocompleter>.
Here is the code I use:
|# view
Just a little test:
<%= text_field_with_auto_complete :employees, :nom%>
# controller
class...
auto_complete_for ||:employees, :nom
def uneAutreMethode
...
end|||
end
I use a database with a table: "employees" and a column
"nom"
Merci.
moufid
--
Moufid Zeribi
www.stri.net
Tel: +33 6 68 03 11 40
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs