title: Firefox Ajax jquery call error
body: <p>I am developing an application but I am having problems to get it to work in Firefox. The application recieves javascript calls from educational applications (websites that are showed in shared window) and it is supposed to return values from a .net webservice. The values must be returned in the same function that recieves the call. The webservices return values are strings that can be true,false or sometimes a value from a database. The websevice supports ajax.</p>
  
  <p>Since I dont know exactly how to call a webservice using javascript I am using jquery-1.3.2.</p>
  
  <p>The code bellow works on Internet Explorer but when used on Firefox it is like it wont wait for the call to return a value despite the async:fale.</p>
  
  <pre><code>function API_LMSInitialize(param)
  {
    res="true";
    $.ajax({
      type: "POST",
      contentType: "application/json; charset=utf-8",
      url: "../../../GateWay/WebService.asmx/LMSInitialize",
      data: "{'courseid':'"+courseid+"','userid':'"+userid+"'}",
      dataType: "json",
      async: false,
      success: function(msg) { res = msg; },
      error: function(){ res="false"; }
    });
  
    return res;
  }
  </code></pre>
  
  <p>Any suggestions?</p>