Sandeep Saroha
Sandeep Saroha

Reputation: 72

How can I make available document.all in IE11

Looks like document.all method is not available in IE11. So what is best way to make available or what is alternative of that?

Upvotes: 1

Views: 358

Answers (1)

jERCle
jERCle

Reputation: 121

This is not standard and should not be used. As per MDN: https://developer.mozilla.org/en-US/docs/Web/API/Document#

As per Microsoft: https://msdn.microsoft.com/library/bg182625(v=vs.85).aspx#docmode

Use document.getElementById instead

Upvotes: 1

Related Questions