Srinivas M

Srinivas M

  • 1.3k
  • 435
  • 29k

Iam not able to access parameters passed in to function ?

Jul 20 2017 6:00 AM
not able to access parameters passed in to function in mvc 
 
function LanguageSettings(Svalue,Evalue){
if (Evalue == "")
{
Evalue = "English";
}
if(Svalue =="Agent"){
debugger;
window.location.href = "@yemenPathURL" +"BankDealer/BankDealerDetails?LangName=" +@utl.Encode(Evalue)+ "&MenuType=" + Svalue;
}

Answers (2)