On Apr 3, 12:29 pm, bigPHIL18
<philip.dud...-0awXA46M4gK+qLz4OLLJLQ@public.gmane.org>
wrote:> Hello all,
>
> I wrote this jQuery script that gets the id of the ul i clicked and
> saves it as a variable. How can I use this variable in my Rails
> project?
Are you using jRails or just hand coding the jQuery stuff?
Take a look at jQuery.post method (or $.post) that will let you send
your ID back to the server..
Cheers,
-Mark Turner
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---