An Error Has Occurred In The JavaScript Console. Functionality Might Be Affected
HI I am getting this peculiar information in my console of IE 11 , An error has occurred in the JavaScript Console. Functionality might be affected. this information is showed
Solution 1:
I received this same error recently, while testing some JavaScript code in IE 11.
The solution for me was to reduce the number of times that the console.log prints from within my FOR loop.
For example, printing to the console only if the index is divisible by 20.
for (var i = 0, j = 4000; i < j; i++) {
if (i % 20 == 0) {
console.log(i);
}
}
(Link to jsFiddle page can also be found here.)
Solution 2:
Does element_list contain more than 999 values? Check the length of element_list
Solution 3:
var names = items.map(function(item) {
return item['name'];
});
I was getting the same error but managed to bypass it by using the .map function.
Post a Comment for "An Error Has Occurred In The JavaScript Console. Functionality Might Be Affected"