I used setinterval to write a small program a few days ago. I will not explain what setinterval is used.
The writing method can be used in other browsers. Later, the test team's colleagues took a test and the problem occurred. Because they love 360 and Internet Explorer. I was puzzled within two days. IE always reported that the method parameter was incorrect. Later I reported that the method could not be found, and finally I found the problem!
However, I really want to express my dissatisfaction. The problem is that there are too many copies on the Internet, which leads to many mistakes, such
SetInterval (QuoteList ('parameter'), 3000 );
And even
SetInterval (QuoteList, 3000, 'parameter ');
I have to mention the fault tolerance ability of various browsers, especially Firefox and aoyou. These error scripts actually know that you are wrong, but you can understand what you mean, so there is no error in running. But IE won't !! It doesn't know at all!
Because the correct syntax is:
SetInterval ("QuoteList ('parameter')", 3000 );
This problem has plagued me for several days and I still thought it was a browser compatibility problem!