Displaying 4 results from an estimated 4 matches for "select_city".
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
...ame="city_id" disabled="disabled">
<option value="">Select City</option>
</select>
</div>
<%= observe_field("state[id]",
:update => "city_container",
:url => { :action => :select_city },
:with => "''id=''+value",
:on => "changed")
%>
</td>
<td valign="top" align="left">
<div id="locality_container">
<select id="locality_id" name="home_for_r...
2006 Aug 17
0
AJAX - Having Multiple SELECT (Drop Down), and dependency
...ame="city_id" disabled="disabled">
<option value="">Select City</option>
</select>
</div>
<%= observe_field("state[id]",
:update => "city_container",
:url => { :action => :select_city },
:with => "''id=''+value",
:on => "changed")
%>
</td>
<td valign="top" align="left">
<div id="locality_container">
<select id="locality_id" name="home_for_r...
2006 Apr 12
22
Dynamic Select Box
Hi,
I''m new to rails/ruby having come from PHP and am just starting to get
my head round how easy it can be :)
However, can anyone point me in the right direction for dynamicaly
updating a select box based upon the choice of a previous select box,
without a page refresh.
Any and all help greatly appreciated.
Thanks
--
Posted via http://www.ruby-forum.com/.