How to refresh web page after closing Model dialog box in rails 2.3.8?
I am developing project on rails and I need to refresh the whole web page when I close a Model dialog box. H开发者_如何学运维ow can I do this on rails.
You can do it with javascript, add hook on modal box closing with something like
location.reload(true)
This will refresh whole page, if you need to refresh just a partial, you should use AJAX GET action.
精彩评论