Home  >  Article  >  Web Front-end  >  IE web page js syntax error 2 lines of characters 1, normal solution in FF_Basic knowledge

IE web page js syntax error 2 lines of characters 1, normal solution in FF_Basic knowledge

WBOY
WBOYOriginal
2016-05-16 17:23:021214browse

During the development process today, I suddenly encountered this strange problem. I thought it was a problem with the url parameters passed by my js to open the modal form. I used open and there was no problem. If you use a modal form, this error will pop up first and then the newly opened interface will be displayed. After searching online for a long time, the solutions are summarized as follows:

1. It may conflict with some plug-ins of IE. Please try after disabling all irrelevant IE add-ons

2. Reference to non-existent js files

3. Some files on the page have been started before the document model has been established. Quote relevant nodes

I finally solved the problem by disabling the plug-in in IE.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn