Sunday, August 21, 2011

[Rails] Re: Re: Rails, jquery and Ajax

Colin Law wrote in post #1017714:
> On 21 August 2011 10:59, Paul Bergstrom <lists@ruby-forum.com> wrote:
>>>
>>> Cheers,
>>> Eric
>>
>> Thanks. But are you sure this works? Doesn't work here.
>>
>> If I have <%= link_to 'Test', { :action => 'test' }, :remote => true %>
>> it actually goes to the action not making an ajax call.
>
> What do you mean by that? It *should* go to the action, as an ajax
> call.
>
> Colin

It goes to the "page", the url. With ajax it should stay on the same
page, same view, but just execute the js.

--
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@googlegroups.com.
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate