how to redirect external url using javascript in mvc
this code is work
$.ajax({
    type: 'POST',
    url: '@Url.Action("getattendenceofliveclass", "student")',
    dataType: 'json',
     data: { 'id': classid },
     success: function (response) {
         alert(response);
         var url = response;
         window.location.href = "https://backend.wiziqxt.com/landing/session/v1/574776907aba7bd850d53e069e84b55871d6d797789f98518eb7eb544c0bf9fd/a?hash=MjYzNTIzODowMGZjYzNiOWFiOWQxNmY2NzBhNzc2MzgwMTgzNDBlZmMyYmM5NWJlYzRiYTcxMzI=";
     },
     error: function (ex) {
     }
 });
but it not work when i replace this line it open link this
http://localhost:32564/student/%22https://backend.wiziqxt.com/landing/session/v1/574776907aba7bd850d53e069e84b55871d6d797789f98518eb7eb544c0bf9fd/a?hash=MjYzNTIzODowMGZjYzNiOWFiOWQxNmY2NzBhNzc2MzgwMTgzNDBlZmMyYmM5NWJlYzRiYTcxMzI=%22
i want to redirect this in new window in mvc using javascript or jquery
https://backend.wiziqxt.com/landing/session/v1/574776907aba7bd850d53e069e84b55871d6d797789f98518eb7eb544c0bf9fd/a?hash=MjYzNTIzODowMGZjYzNiOWFiOWQxNmY2NzBhNzc2MzgwMTgzNDBlZmMyYmM5NWJlYzRiYTcxMzI=%22