What is the workaround for “getElementsByTagName” in IE8? [duplicate]
问题 This question already has answers here : document.getElementByClassName - Cross Browser Fix (6 answers) Closed 5 years ago . What is the workaround for "getElementsByTagName" in IE8? 回答1: Internet Explorer has supported getElementsByTagName since IE 5.5 (IE 6 for support for the "*" value as the argument). There is no workaround, or need for one, for IE 8. 来源: https://stackoverflow.com/questions/24033367/what-is-the-workaround-for-getelementsbytagname-in-ie8