jQuery .find() Not Working in IE with Dynamic XML File
Looking back the solution seems pretty darn simple (isn’t that all the way!?!) but with no help from our friend Internet Explorer it took some digging around. It turns out the problem was caused by the content type of the string returned to jQuery by the AJAX call not being set and IE not understanding how to deal with it.
To solve the issue I added the following line just before outputting the XML:
After adding the above line the jQuery started to loop through the markers with no problem at all.