Hi,
try out FireBug http://getfirebug.com/ for FireFox or FireBub Lite
http://getfirebug.com/firebuglite for Chrome. You can see if you made
any JavaScript syntax mistake. Also give a try for Selenium
http://seleniumhq.org/projects/ide/
After "rails server" when you check the workflow on your Rails app
always check back to console after every click on the site. There will
be warning message if you put your files to wrong place or named them
incorrectly etc.
Hope this helped. Good luck,
Zoli
On jan. 2, 02:33, Mike C <snib...@gmail.com> wrote:
> 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