Hi, I have an array of another array in my controller. The array is generated based on a data sent in from ajax request. This is my view code: $.ajax({ type: ''GET'', url:''/my_Cont_Method'', async: false, data:{ data:value}, success:function(data){ } In my controller file, I have an array of array. a = {[1,[red,blue]],[2,[green,brown]]} Input : "1" How can I display "red and blue" in my modal box? I do not want to use cookie. Regards, Nikhil -- Posted via http://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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.