title: jQuery: Performing synchronous AJAX requests
body: <p>I've done some jQuery in the past, but I am completely stuck on this. I know about the pros and cons of using synchronous ajax  calls, but here it will be required. </p>
  
  <p>The remote page is loaded (controlled with firebug), but no return is shown.</p>
  
  <p><strong>What should I do different to make my function to return properly?</strong></p>
  
  <pre><code>function getRemote() {
  
      var remote;
  
      $.ajax({
          type: "GET",
          url: remote_url,
          async: false,
          success : function(data) {
              remote = data;
          }
      });
  
      return remote;
  
  }
  </code></pre>