Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion remote links with lowpro and rails
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Bryan Ray  
View profile   Translate to Translated (View Original)
 More options 21 May, 20:21
From: Bryan Ray <br...@bryanray.net>
Date: Thu, 21 May 2009 14:21:44 -0500
Local: Thurs 21 May 2009 20:21
Subject: Re: remote links with lowpro and rails

are you sure that you're including the lowpro library?

On Thu, May 21, 2009 at 2:09 PM, patrick <patrick99...@gmail.com> wrote:

> Hi everyone,

> I was just reading this article:
> http://blog.7actionsdev.com/2008/06/unobtrusive-rails-links-and-forms...

> which advised me to use a regular link with the class "remote", and if
> javascript is disable it will function like a regular link, and if
> it's enabled it will function as an ajax call.

> the article said I need to add to my page's js:

>  Event.addBehavior({
>   'a.remote'   : Remote.Link,
>   'form.remote': Remote.Form});

> ...  I did this and firebug gives me:

> Remote is not defined
> 'a.remote' : Remote.Link,

> ..  not sure why it says that, and how to correct it..  Any ideas?

> Thank you!
> -patrick

--
Bryan Ray
http://www.bryanray.net

"Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning."


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google