Displaying 2 results from an estimated 2 matches for "city_state_country_id".
2006 Apr 06
0
3 doubts on observe_field
...riends, with the yours aid already I obtained to use
observe_field, but still I am with some problems and necessary again.
They are three questions to long of the source code below.
Since already I am grateful for the tips.
==== _form.rhtml
<!--[form:city]-->
<p><label for="city_state_country_id">Pa?s</label><br/>
<select id="city_state_country_id" name="city.state[country_id]">
*** QUESTION 1: How I can know if I am in the action new or edit without
needing to create the @is_new variable?
<% if @is_new %>
<option selected va...
2006 Mar 01
1
observe_field question
I''m sure this is a simple problem, but I''ve been working on it for 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