看起来 document.all 方法在 IE11 中不可用。那么提供的最佳方式是什么,或者有什么替代方法?
最佳答案
这不是标准的,不应使用。 根据 MDN:https://developer.mozilla.org/en-US/docs/Web/API/Document#
根据微软:https://msdn.microsoft.com/library/bg182625(v=vs.85).aspx#docmode
改用document.getElementById
关于javascript - 如何在 IE11 中提供 document.all,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46928972/