Internet Explorer problem (XML) [Solved]

Internet Explorer problem (XML) [Solved]

Hello. I've got a problem with Internet Explorer. If I try to read the content of a XML tag, I receive no result like this:


//'xml' is a variable with data received from an AJAX request

alert($("message",xml).text());
//This doesn't work. The message box is empty

alert(xml);
//And here I get the correct result in my message box


Does anyone recognises this problem? please help me. If you need the full script, please tell me.

It works fine in Opera. I didn't test it in Firefox, but it's a problem with Internet Explorer.