Home >Web Front-end >HTML Tutorial >I encountered IE8 compatible notes_HTML/Xhtml_web page production

I encountered IE8 compatible notes_HTML/Xhtml_web page production

WBOY
WBOYOriginal
2016-05-16 16:42:221243browse

1. IE8's getElementById only supports id, not name
For example:
Used in IE8: var obj = document.getElementById("txt1");
At this time obj will be equal to null

2. The

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