On Aug 20, 8:32 pm, Gi Ga
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:> Frederick Cheung wrote:
> >> 1. How can I update option in <select>-box with Ajax ?
>
> > You mean change the options in the select box ?
>
> Yes, add / remove options in select box
Well in theory you could just do an ajax update that updates the
select box (ie where the action just renders the option tags).
Fred
>
> >> 2. How can I by clickin text-link update content of some
<div> ?
>
> > link_to_remote ''click me'', :update =>
''some_div'', :url => {:controller
> > => ''foo'', :action =>''var''}
>
> Thanks.
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---