Problem call ajax in IE

Problem call ajax in IE

Hi all,

I have a ASMX service, it is return a string xml:

<Catalogues>
  <Catalogue ID="1" Name="Test 1" />
  <Catalogue ID="2" Name="Test 3" />
  <Catalogue ID="3" Name="Test 3" />
</Catalogues>

I use jquery to call service. In firefox, it works fine, but in IE ....

This is my code:

  1. $(document).ready(function() {
  2.       var webMethod = "/LVMapService.asmx/GetCatalogueList";
  3.       var parameters = "{'BlogGUID':'f990dc6b-2940-4376-a1e3-88ef7ac01d55'}";
  4.       $.ajax({
  5.             type: "POST",
  6.             url: webMethod,
  7.             data: parameters,
  8.             contentType: "application/json; charset=utf-8",
  9.             dataType: "json",
  10.             success: function(msg) {
  11.                 alert(msg.d);
  12.                 alert($(msg.d).find('Catalogue').size());  // in FF = 3 but in IE = 0
  13.             },
  14.             error: function(e) { alert(e); }
  15.         });
  16.  });
Sorry about my EN.