jQuery is client side. Ruby is server side. jQuery (or any JavaScript) is
completely incapable of setting a Ruby (or any server-side language)
variable. However, you can use jQuery's $.ajax() method to send an
asynchronous request to the server, passing along the variable value. Check
the jQuer
Not too much help from what i can gather.
I want it to set this jQuery variable to a Rails variable.
On Apr 3, 4:12 am, Alex wrote:
> www.railscasts.com
>
> search : jquery
>
> On 2009-4-3, at 下午4:08, bigPHIL18 wrote:
>
>
>
>
>
> > Anyone?
>
> > On Apr 2, 8:24 pm, bigPHIL18 wrote:
> >> Hello a
www.railscasts.com
search : jquery
On 2009-4-3, at 下午4:08, bigPHIL18 wrote:
Anyone?
On Apr 2, 8:24 pm, bigPHIL18 wrote:
Hello all,
I have been reading a lot and can not find what I am looking for. I
have a Rails project, and have written a script to get the class of a
ul. I want to pass
Anyone?
On Apr 2, 8:24 pm, bigPHIL18 wrote:
> Hello all,
>
> I have been reading a lot and can not find what I am looking for. I
> have a Rails project, and have written a script to get the class of a
> ul. I want to pass this variable gathered from the script and pass it
> on to Rails. How woul
4 matches
Mail list logo