Quantcast
Viewing all articles
Browse latest Browse all 3527

Internet Explorer 11 error

       

This expression works fine in all major browsers, including IE10 :

var xPathResult = xmlDocument.evaluate(path, xmlDoc, null, XPathResult.ANY_TYPE, null);

However, when trying the new Windows 8.1 IE11 it fails, throwing this error:

javaScript runtime error, XPathResult is undefined.

How should JavaScript XPath be coded when developing for IE11?


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>