I have an usual index.html.erb file generated by the scaffold. If I include jquery-1.6.2.min.js, the Delete link stops working. If I remove jQuery, the Delete link starts working again.
Anyone experience anything similar? Do you know a solution?
I have an usual index.html.erb file generated by the scaffold. If I include jquery-1.6.2.min.js, the Delete link stops working. If I remove jQuery, the Delete link starts working again.
Anyone experience anything similar? Do you know a solution?
Are you loading rails.js? https://github.com/rails/jquery-rails
Rodrigo Alves Vieira
http://www.rodrigoalvesvieira.com
I got this problem once, and it happened because I still have scriptaculous in my public/javascript!
maybe you should check it
I have an usual index.html.erb file generated by the scaffold. If I
include jquery-1.6.2.min.js, the Delete link stops working. If I remove
jQuery, the Delete link starts working again.
Anyone experience anything similar? Do you know a solution?
Maybe you are using the default js library, prototype. Prototype and JQuery
have compatibility issues. Google for how to solve it if you need to use both
libraries in a single page.
Do you have a csrf_meta_tag?? See here: