I\'ve a probleme in my code. The aim is to complete a simple form, then you click on a submit button. It do an Ajax resquest to go in the method. On success in the ajax request,
Try these ...
Option1
window.location=document.referrer;
Option2
window.location.reload(history.back());