| |
Low Pro |
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
the article said I need to add to my page's js:
Event.addBehavior({
... I did this and firebug gives me:
Remote is not defined
.. not sure why it says that, and how to correct it.. Any ideas?
Thank you!
javascript is disable it will function like a regular link, and if
it's enabled it will function as an ajax call.
'a.remote' : Remote.Link,
'form.remote': Remote.Form});
'a.remote' : Remote.Link,
-patrick