title: load ajax url on new page?
body: <p><a href="https://i.stack.imgur.com/5l63v.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5l63v.png" alt="enter image description here" /></a>i know this question is not asked well &amp; iam sorry for that</p>
  <p>given requirement is that url shoul be open in _blank page but i have design ajax url is it possible ajax url is open in new page? like regular url other wise i have to change lots of things here is the code</p>
  <pre><code>  function pdfPrint(start_date , end_date , view){
  
      var startDate = $('#setDate-'+start_date).val();
      var endDate = $('#setDate-'+end_date).val();       
      data = {
              &quot;startDate&quot;:startDate,
              &quot;endDate&quot;:endDate,
              &quot;view&quot;:view,
              &quot;systemid&quot;:system_id,
          };
      $.ajax({
          url: &quot;{{route('download.pdf')}}&quot;,
          type: &quot;get&quot;,
          'headers': {
            'X-CSRF-TOKEN': '{{ csrf_token() }}'
          },
          data:data,
      }).done(downloadFile);       
  }
  </code></pre>