Hi, I need to implement auto complete in my form. I have installed autocaomplete for rails 2.0 in the person form i have <%form_for(:person,:url=>{:action =>"submit_tag"} do p %> First Name:<%= text_field_with_auto_complete p, "first_name" %> .... <%end%> in the person controller i have auto_complete_for :person, :first_name also in the application layout i have <%= javascript_include_tag :defaults %> Now when i try to open the page the autocomplete does not work and i get the following: line: 667 char: 1 Error : Object expected code: 0 Please tell me what is going wrong Thank you. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---