0

I'm using location.reload in js but I wanna set the page a i wanna reload, this is my function

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

How can i set the page?

  • Are you perhaps looking to redirect? https://stackoverflow.com/questions/503093/how-do-i-redirect-to-another-webpage – Newbyte Apr 06 '20 at 06:30
  • 3
    Does this answer your question? [How do I redirect to another webpage?](https://stackoverflow.com/questions/503093/how-do-i-redirect-to-another-webpage) – Newbyte Apr 06 '20 at 06:32

1 Answers1

0

There are lots of methods to do this ,use what is most suitable for you

visit https://www.w3schools.com/jsref/obj_location.asp

MJ07
  • 1
  • 3