Ruby on Rails Saturday, January 1, 2011

I followed tutorials and changed my Rails app to use jQuery. All the
needed files are in place, but ajax isn't working. I have the
format.js in the correct place and the js.erb file named after the
action. Calling stuff from application.js works, and I do have remote
=> true in the link. When I try and run it it just does nothing, and
in the log it seems like it's running the format.html instead of the
format.js.

--
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.

No comments:

Post a Comment