开发者

Rails 3.0 required javascript libraries for method delete

开发者 https://www.devze.com 2023-03-30 17:14 出处:网络
I was wondering what are the specific j开发者_StackOverflowavascript libraries required to get the method => delete to work. Also, I\'m having problems because I want to use the jquery library, and if

I was wondering what are the specific j开发者_StackOverflowavascript libraries required to get the method => delete to work. Also, I'm having problems because I want to use the jquery library, and if I include :defaults it doesn't work. Is there a way to integrate the two?

Thank you.


jQuery can run in Rails if you include the UJS script. Your best option is to use the following:

https://github.com/indirect/jquery-rails

0

精彩评论

暂无评论...
验证码 换一张
取 消