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?
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---