Home > Web Front-end > JS Tutorial > Solution to innerHTML error reporting in IE_javascript skills

Solution to innerHTML error reporting in IE_javascript skills

WBOY
Release: 2016-05-16 16:27:01
Original
1768 people have browsed it

Problem: During the development process, a loop is used to insert the tr tag into the table, and then the td is looped into the tr. This works fine in other browsers, but an error is reported in IE9 and below:

Get the answer on Google: Since I didn’t know the cause of the error before, I couldn’t find the solution on Baidu. Later I searched on Google. Someone in foreign countries also encountered this problem and pointed out the problem: http://www.aachin.info/techen/error-on-ie-9-script600-invalid-target-element-for-this-operation/?amp;utm_source=rss&utm_medium=rss&utm_campaign=error-on-ie-9 -script600-invalid-target-element-for-this-operationDemo code:

Copy code The code is as follows:




                                                                                                                                                                http-equiv="content-type"                                                                                                                           


         
                                                                                                                                                                                                                                                                                                                                                               
                                                                                                                            
222

         
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template