Autocomplete after update

I am trying to just render an ajax request to display the values at a
site when the user selects a site, I have this:

<%= text_field_with_auto_complete :site, :name,
:with => "‘ci=’ + element.value ",
:after_update_element => remote_function( :url => { :controller =>
‘sites’, :action => ‘updatesearch’ } ) %>

It is not doing anything when I select a value. Any ideas?

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