Displaying 1 result from an estimated 1 matches for "points_rb".
Did you mean:
point_r
2007 Sep 05
1
javascript float array in params hash
Hi all
I''m trying to figure out the best way to send the contents of a
javascript array containing floats to the controller and have the
controller correctly interpret it as an array of floats.
So if I have
var points = [1,2,3,4,5,6]
I need to send this to the controller so I can
points_rb = param[:points]
or something similar
thanks
sab
--~--~---------~--~----~------------~-------~--~----~
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@pub...