On 24 Sep 2008, at 07:53, michael_teter wrote:
>
> <%= remote_function :update => 'crit_city',
> :url => { :action =>
> 'get_criteria_options' },
> :with => "$H({list:
> $F('crit_city'), country: $F('crit_country'), state:
> $F('crit_state')}).toQueryString()" %>
>
> Unfortunately that results in an error (according to Firebug):
> Form.Element.Serializers[method] is not a function
>
Probably means that one of those 3 elements (crit_city etc...) is not
an input element (or something similar like a select or a textarea).
It certainly seems suspicious to me that the thing you are updating
('crit_city') has the same id as something you are submitting, as you
had said previously that the point of the exercise was to populate a
div (which implies that that is what the element with id crit_city is)
Fred
> Googling that error, I see comments about duplicate IDs. I don't
> think I have dup ids...
>
> I'm very interested in any help or comprehensive non-trivial
> examples. Barring that, I may be open to short-term actual help for
> pay.
>
> Thanks much!
> Michael
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---