Displaying 1 result from an estimated 1 matches for "display_compat".
2006 Mar 01
1
observe_field question
...a
couple days and can''t seem to figure out the correct way to structure my
observe_field call. The HTML and Javascript generated all appear
correct, but the AJAX call is never made. Below is the code I''m using
and any help would be much appreciated.
models_controller.rb
def display_compatible
render :partial => "compatible"
end
( Right now the _compatible.rhtml file contains a single HTML statement
just for testing. Going to localhost:3000/app/models/display_compatible
displays the test statement correctly. )
views/new.rhtml
<%= javascript_include_tag "...