title: Ajax not going to the success in .net
body: <p>please have a look I couldnt get in to the success in my code , dont know why?
  something should be wrong with my set up, once I try to debugg it wont goes to the success </p>
  
  <pre><code> var postCodeData = "_PostCode=" + $("#Postcode").val();
          //debugger;
          $.ajax({
              url: "CheckGas/getStreetName/",
              type: "GET",
              data: postCodeData,
              success: function (data) {
  
                  var res = JSON.stringify(data);
                  var jsonObj = JSON.parse(res);
                  console.log(jsonObj);
                  // alert(objJson);
                  //var jsonData = "hello world";
  
                  var postcodeLength = $("#Postcode").val();
  
                  //$("#StreetName").val() = jsonData;
  
                  if (postcodeLength.length == 4) {
                      if ($.isEmptyObject(jsonObj)) {
                          console.log("HELLO WORLD");
                          $('#mapAndGas').css({ 'display': 'none' });
                          $('#gasResponse').css({ 'display': 'block' });
                      }
                  }
  
                  var matchVal = $("#Postcode").val();
                  jsonObj.filter(function (item) {
                      if (item.PostCode == matchVal) {
                          $("#StreetName").append($('&lt;option&gt;&lt;/option&gt;').val(item.StreetName).html(item.StreetName));
                      }
                  });
  
              },
              error:function()
          {
                  alert(postCodeData);
          }
          });
  </code></pre>