David Sousa wrote:
> Hello there,
> 
> I'm trying to do something like:
> 
> render :update do |page|
>     page[:client_list].replace_html render(:partial => 'client_list',
> :object => @clients_list)
>     name = page[:name].getValue();
> end
> 
> but I'm not getting the value, or somehow use $("name").getValue()
> inside of the controller.

You will need to send this value as a parameter of your AJAX
call, using the :with parameter of the form helper.

-- 
Rails Wheels - Find Plugins, List & Sell Plugins - http://railswheels.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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to