Home > Web Front-end > JS Tutorial > innerHTML_javascript trick for IE bug table element

innerHTML_javascript trick for IE bug table element

WBOY
Release: 2016-05-16 18:36:55
Original
1323 people have browsed it

First of all, there is the erratic collapsing border. There is one thing about IE6 that is different from other browsers. An ugly border is displayed no matter what. No solution.

If the above problem can be solved in a weird way, then there will be no solution at all.

Since it involves asynchronous transmission and real-time display of data, I wrote a front-end template to dynamically update the data through innerHTML. All other browsers work fine, but IE cannot get data out of it. After a long time of troubleshooting, the result is that the table element of IE is read-only and innerHTML cannot be used! ! ! !

Elements that are also read-only include COL, COLGROUP, FRAMESET, HTML, STYLE, TABLE, TBODY, TFOOT, THEAD, TITLE, TR, etc.

Is this a bug in IE or is this how it should be⋯⋯ Tired⋯⋯

Finally switched to ul, the world is beautiful⋯⋯

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template