Thanks Jon, i will try that :-)

On Thu, Mar 19, 2009 at 10:21 AM, Jonathan Stott
<[email protected]> wrote:
>
> 2009/3/19 Rafael George <[email protected]>:
>>
>> Hi guys, which is the best way to add some Ajax call and some effects
>> with jQuery, but i can't see an standard way to do this. there is no
>> link_to_remote as in Rails
>>
>> Can somebody give me some advice, please.
>>
>> Thanks in advance.
>>
>> --
>> Rafael George
>
> The easiest way is just to write some jQuery that calls merb actions.
>
> Start with a document ready function which binds appropriate click
> functions to the links you want, have those click functions call a url
> of your merb app via ajax, and do something with the results.
>
>
> http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery
>
> This tutorial involves calling out to a php app, but just remove the
> .php and it would work with merb.
>
> Regards
> Jon
>
> >
>



-- 
Rafael George

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to