Customization · Debugging · Dynamics CRM · Dynamics CRM 2013 · IE · IE 11 · Javascript

IE 11: Javascript selectNodes is not working

It seems selectSingleNode() and selectNodes() method for XML document is no longer supported.

Instead use querySelector() and querySelectorAll()

var filterNode = fetchXml.querySelector("Filters");

var attributeNodes = fetchXml.querySelectorAll("Attribute");

Cheers – Sy

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s