Displaying 3 results from an estimated 3 matches for "select_locality".
2006 Aug 16
8
Multiple (AJAX) Observers on the Same Field and MSIE
I have been using multiple observers, i.e., observe_field(), on the same
input field and relying on them to execute in the same order that they
appear in the page. This has been working fine in FireFox, but it does
not seem to work in MSIE; the requests come in and are processed in a
different order. Now, I''ve always been a little hesitant about using
this technique, but it always
2006 Aug 16
0
Multiple observer
...disabled="disabled">
<option value="">Select Locality</option>
</select>
</div>
<%= observe_field("city_id",
:update => "locality_container",
:url => { :action => :select_locality }
:with => "''id=''+value",
:on => "changed")
%>
</td>
Controller Code
def select_city
@cities = City.find_all_by_state_id(@params["id"])
@html = "<select id=''city_id'' name...
2006 Aug 17
0
AJAX - Having Multiple SELECT (Drop Down), and dependency
...disabled="disabled">
<option value="">Select Locality</option>
</select>
</div>
<%= observe_field("city_id",
:update => "locality_container",
:url => { :action => :select_locality }
:with => "''id=''+value",
:on => "changed")
%>
</td>
Controller Code
def select_city
@cities = City.find_all_by_state_id(@params["id"])
@html = "<select id=''city_id'' name...