I have following code:
var callF = "window.opener.<%= callback %>('" + selectedValue + "')";
eval(callF);
The callback is "loadContact".
Therefore callF = "window.opener.loadContact(289834)";
It works in IE, but not EDGE
I have following code:
var callF = "window.opener.<%= callback %>('" + selectedValue + "')";
eval(callF);
The callback is "loadContact".
Therefore callF = "window.opener.loadContact(289834)";
It works in IE, but not EDGE
I can't reproduce the issue. I use the code like this and it works well in Edge and IE:
Is there any error in console in Edge? What is loadContact(289834) in your code? Could you please elaborate more about how you define loadContact(289834) and provide a code snippet which can run and reproduce the issue?
Besides, I suggest that you don't use eval() function. You can refer to the warning in this doc.
12 people are following this question.