ajax not working in rails 3

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.

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

One more thing: check your versions, the tutorial has to be the same
like your local Ruby and Rails versions.
bests

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.

Hey, can you please post the relevant controller and view template code? This would us to better assist you.

-Conrad