title: ajax async:false, blocks the animated gif loading image
body: <p>I am working in .Net web application.</p>
  
  <p>I done few ajax calls synchronously(async:false), since I need to get the value of ajax result in local varaiable.</p>
  
  <p>But If I make a loading visible when it enters into the ajax, it is working fine in firefox, Chrome and IE does not support. </p>
  
  <p>Please help me, any work around for this???</p>
  
  <pre><code>function findtempvalues(tempparam) {
                  var tempnamevalues = new Array();
                  $.ajax({
                      type: "POST",
                      url: "Services/Locale.asmx/templatename",
                      contentType: "application/json; charset=utf-8",
                      data: JSON.stringify({ tempwidpath: tempparam }),
                      dataType: "json",
                      async: false,
                      success: function (result) {
                          tempnamevalues = result.d;
                      },
                      error: function () {
                          alert("error");
                      },
                      timeout: 3000
                  });
                  return tempnamevalues;
              }
  </code></pre>