Welcome Guest, Not a member yet? Register   Sign In
refresh after loading view in controller
#4

If you are deleting records via AJAX you will need to update your HTML as well. This does not happen on it's own. If the AJAX is successful, you could have the function trigger a page refresh by calling
Code:
window.location.reload();
Or you could update the list by having the AJAX request return a new list and replace it with the current one. But I would advise using the refresh method.
Reply


Messages In This Thread
RE: refresh after loading view in controller - by Martin7483 - 12-03-2015, 02:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB