title: How to stop the current domain from being prepended to the URL during jQuery AJAX call
body: <p>Im trying to make an ajax call using an absolute url. But the url is automatically being prepended with the current domain and hence giving me a 404. How can I stop the current domain from prepending to the URL. </p>
  
  <p>$.ajax({
                  type: "GET",
                  url: "www.xxxx.org" + path + ".zzzz.json",</p>
  
  <pre><code>            . 
              .
              // rest of the code }
  </code></pre>
  
  <p>here  path is /etc/xxx/yyy/etc </p>
  
  <p>The error I'm getting is:
  GET <a href="http://yyyyy.xxx.org/www.xxx.org/etc/xxx/yyy/zzzz.json" rel="nofollow">http://yyyyy.xxx.org/www.xxx.org/etc/xxx/yyy/zzzz.json</a> 404.</p>
  
  <p>If anyone has any idea about solving this problem, please help. Thank you.</p>