标签: ruby-on-rails jquery
我正在开发Ruby on Rails应用程序。我试图从数据库中删除一些数据。我使用ajax传递数据,删除后返回成功。现在我只想刷新那个特定的div。我不想刷新整个页面。有可能吗?
答案 0 :(得分:0)
您可以参考以下链接:
Refreshing a DIV after form submission in ruby on rails
How to update a 'div' content after that ActiveRecord values are changed without reload the page?
Refresh a div without reloading the page
Update only div panel on button click in Ruby on Rails
希望这些链接能为您提供帮助。
由于
答案 1 :(得分:0)
这可能是你喜欢的
https://github.com/chrismccord/sync