Displaying 1 result from an estimated 1 matches for "gallery_size".
Did you mean:
gallery_site
2007 Feb 21
2
Ajax.request -> Controller Variable?
....request to get the information
back to the controller - but for the life of me I cannot figure out how
to do that.
In my View:
new Ajax.Request(''/main/gallery'', {asynchronous:true, method:''get'',
parameters:''size=normal''});
In my Controller:
@gallery_size = params[:size] unless params[:size].nil?
I would be eternally grateful for any response.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" gr...