[Rails] Re: drop downs

Alan Francis
Wed, 26 Apr 2006 13:21:03 -0000

Alan Francis wrote:

> You don''t seem to have a div or span with an id of country_area.
tthe
> :update => ... bit of the observe_field is looking to replcace the
> contents of an element with the results of the action, you need a div to
> render into.

Jyst noticed the countray_area id is used inside the partial.  this
won''t work as the particl needs rendered *into* country_area.  In your
case, that should probably be the td(*).

Alan
(*)But be wary of DOM manipulation and tables in IE