$.get code not working in IE (JQuery)

Chrisssss5

New Member
I have this code, loading XML documents on mouseenter, which works in Firefox:\[code\]$(document).ready(function() { $('.invest-port-thumb a').mouseenter(function() { $.get(this.href, function(response){ var cName = $(response).find("fragment cName"); var cind = $(response).find("fragment cName").attr("cind"); $('#slider-name .slider-copy').html(cName); $('#slider-indu .slider-copy').html(cind); }); });});\[/code\]and OF COURSE it doesn't work correctly in IE. In fact, nothing loads. Sample XML document:\[code\]<fragment> <cName cind="Industrial" stat="Active">ABC Company</cName> <hq>Chicago, IL</hq></fragment>\[/code\]I found something strange, when I remove this line:\[code\]var cName = $(response).find("fragment cName");\[/code\]it works fine. For some reason, I can get the attribute of the XML nodes, but not the actual nodes? Any help would be appreciated...
 
Top