so I have a dialog UI with a form once a user click on a link it opens. Once they click \"Add button\" it create a AJAX call that submits the data into the database. What I need
You can try many ways to reload the page, I have tried few, at least few may help somebody.
location.reload() location.reload(false) window.location = window.location window.location.reload();
If you using link then use this :
location.href = location.href