+ 2
How to go to another page when data has been sended in ajax.
I want to go to another page when data has been sended in ajax i used RedirectToAction in mvc but it cant be used when i ised ajax for sending data to server any suggestions? ?
2 Answers
+ 1
if you use Ajax with JQuery lib it has Ajax complete event that run after Ajax response got, so you can use
window.location.href="/page/example"
to redirect page
0
tnx