Does observe_field work in a partial

I defined a partial and put an observe_field in this partial, but it
doesn’t invoke the action when the field changed, this is the code:

<%=select_tag 'project_version', options_for_select(@project_versions)%> <%= observe_field :project_version, :update=>'view_name', :url=>{:action=>'update_view_name'}, :with=>"'project_selection='+$('project_selection').getValue()+'&project_version='+encodeURIComponent(value)"%> <%= render(:partial=>'view_name',:layout=>false) %>

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