Displaying 1 result from an estimated 1 matches for "company_titl".
Did you mean:
company_title
2009 Jul 10
3
text_field_with_auto_complete
I need to pass a parameter in my text_field_with_auto_complete and am
struggling to discover how to do this. I have something like this:
<%= text_field_with_auto_complete ''user'', ''username'', {}, {:with =>
"''post=''@company_title.id"} %>
but because it is in a partial that pops as a result from a
remote_function_tag, I am having trouble seeing the html to know if this
is even working. In any event, it is not giving me back what I want.
Is there a way to pass parameters to the auto_complete_for method?
Thanks,
-...