Auto complete and after update element

I have done several searches via the web and all of my 13,000+ emails
from
the rails list.
I can’t seem to find or discover exactly why the below syntax does not
cause
the app to call the get_supplier_address action in the controller.

<%= text_field_with_auto_complete ( :supplier, :company_name,
:after_update_element => “function(element,value){” +
remote_function( :url => {
:action
=> :get_supplier_address }, :with => “‘supplier=’+value”) + “}” ) %>

The text field with auto complete works beautifully.
I select the supplier, but then, I want the after update to fire and
take
the value of the auto complete that the user selected and with the
supplier
company name, fill in the address information from the db.
Problem is the get_supplier_address is never called.

Does anyone see what is possibly wrong or offer suggestions on what I
assume
to be a trivial issue?

Rails 1.1.2
Rails 1.8.4
RHEL
Apache 2.2

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs