I''m a bit confused about ajax. If I have a link, do I add the href,
data-remote="true" and data-method in there? Or do I make the actual
call in a separate script with $.ajax({})? Or both?
The same thing with a form. Is that suppose to have an action path and
an jquery axaj url: "..." path at the same time?
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.