2017  Kodetalk | Feedback | Privacy Policy | Terms | About
userimage

How to refresh screen after ajax call?

i submitted a form using ajax call and now i want to refresh my window so that i will get complete fresh contain for that page. how to do that.
userimage

To refresh the same screen after doing ajax call you can use below method:

window.location.href = window.location.pathname + window.location.search;


Hope this will help you a lot to refresh the same page.

Answer is