title: AJAX call returns data but does not prompt a download
body: <p>I have an ajax call that successfully calls a page that by itself works fine. You click the button, and a PDF downloads. However, when I make an AJAX call using the same request type and url, the <code>data</code> is returned, but does not prompt a download.</p>
  
  <p>My call :</p>
  
  <pre><code>    $("#download-pdf").live('click', function(){
        $.ajax({
          url: $(this).parents('form').attr('action'),
          type: 'POST',
          success: function(data){
            console.log(data);
          }
        });
        return false;
      });
  </code></pre>
  
  <p>Data is returned as what would be an unparsed PDF. So I know the information is there. It just doesn't cause a download. Any tricks?</p>