Windows.history.back() + location.reload() jquery
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: 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, i use windows.history.back() to go to the previous page ans here i want to refresh this page, to refresh values which are modificated by the form ! Have you an idea about that ? $('#form_edit').submit(function (e) { e.preventDefault(); $.ajax({ url: $('#form_edit').attr('action'), type: 'POST', cache: false, data: $(this).serialize(), success: function (data) { if