Does anyone has example, How to redirect to a new page in Jquery with MVC?
thank you
It's done as Darin says. Note that you might want to use a relative uri. The easiest way is to define a variable that contains the base uri (I'm using Razor view engine in the example).
<script type="text/javascript">
var baseUri = '@Url.Content("~/")';
function redirect() {
window.location.href = basUri + 'new/url';
}
</script>