首页 > 解决方案 > 位置重新加载设置页面

问题描述

我在 js 中使用 location.reload 但我想设置页面我想重新加载,这是我的功能

 success: function (data) {
                alert("Andamento concluido nos seguinte processos: " + data.ids_processos);
                location.reload('/admin/carregamentop/index');
                return false;
            }

如何设置页面?

标签: javascriptajax

解决方案


有很多方法可以做到这一点,使用最适合您的方法

访问 https://www.w3schools.com/jsref/obj_location.asp


推荐阅读