0

I want to redirect the user after submitting a form without reloading the page (document).

I tried,

page("./newurl/18/meetings");

When I click on a link <a href="./newurl/18/meetings">link</a> it works as expected.

Mike Casan Ballester
  • 1,690
  • 19
  • 33

1 Answers1

0

Finally found out. It simply reloads the page when using a relative link with a leading dot.

This will reload

page("./mypath/subpath");

This will work properly

page("/mypath/subpath");
Mike Casan Ballester
  • 1,690
  • 19
  • 33