title: ajax request not working in localhost wampserver
body: <p>I have the following code </p>
  
  <pre><code>$.ajax({
          url: "../profile/companyAutocomplete.php",
          type: "GET",
          data: dataQuery,
          dataType: "json",
          success: function(responseData) {
              companySelectHandler(responseData);
          }
      });
  </code></pre>
  
  <p>which i getting called in the production server without any issues. But when I used it in my local system, the ajax request is not made. I have tried in all the browsers but its still the same.  What would be the causing the issue?  I need to print the ajax error message for the same. How can i achieve that?</p>