Click here to Skip to main content
14,979,406 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi,
I have an Ajax form in MVC which on submission display result in same page itself.But i like to redirect the output to a new page on submission with the same output without page refresh.Thanks in advance.
Posted

1 solution

If I am not wrong in my anticipation,
you can try with:-
JavaScript
$.ajax({
url:"",
data:"",
success: function()[
          window.location.href = "REDIRECTION URL GOES HERE"
    }
});

Hope this helps anyway.
Post back your queries if any.
Thanks.:)
   
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900