When the js plug in sets innerHTML it prompts for the resolution of "unknown runtime error" under IE8
- 2020-06-03 05:42:47
This article is an example of an js plug-in setting innerHTML that prompts for an "unknown runtime error" resolution under IE8. Share to everybody for everybody reference. The specific analysis is as follows:
One js plug-in is used in the website. When setting innerHTML, the error "unknown runtime error" is reported under IE8:
<div id="divContainer"> <a name="link"> --> An error in the The first 3 Square plugin content... </a> </div>
The innerHTML object set is 1 < a > Is due to < a > When the browser runs the script, it checks for runtime errors.
will < a > Replace label with < div > The label.