location.reload() not refreshing the page in laravel ajax call
If in your application location.reload not refreshing the entire page,mostly in firefox. or else we need to do hard refresh(ctrl+F5) to reflect the changes in the page use the below code in in the ajax success section
1 |
window.location=window.location instead of location.reload() |
Enjoy this will work 🙂