SoFunction
Updated on 2025-04-07

javascript has not implemented an error solution

There is no error message in firebug either. When I open IE, I encounter a damn "unimplemented error". According to the location prompted in IE, I found no errors. It seems that the error positioning of IE is not very accurate. In desperation, Google searched and finally found the error. It turns out that the error is that = myFunc(var1,var2); parameter calls are not supported in the IE function. Although the function will still be executed, an error will occur, which will affect the continued execution of subsequent scripts. The following are two simple and useful solutions:
Write another function, for example
function loadFunc(){
myFunc(var1,var2)
},
Then
= loadFunc;
Use anonymous functions.
onload =function(){myFunc(var1,var2)}
Enough, these two methods.