Topic: autocomplete problems
I've created a form that creates multiple text fields via ajax. I've taken the code from the railscast episode #73 "Complex Forms - Part 2". In addition I extended each of those text fields with an autocomplete function. Since the id of them should be unique I've chosen to use object_id (in the example the object_id of the task object). When the page is called I have three text fields that use all the same controller function to request the data for the autocomplete. Unfortunately I do not know how the controller can access the value the user has typed into the text field. The only variable I can request is via params[:fieldname] and it returns the id of the text field but not its value.
Could somebody help me with this?