title: Can I stop dompdf page hard reload in laravel dompdf?
body: <p>I have used dompdf in my laravel application and I'm calling the pdf generate function from the same form submit button and both are working fine. The only issue I'm facing right now is on my generated pdf file every hard refresh/reload, form data is submitting again to the database. Is there any possible way that i can prevent that reload or form submit?</p>
  <p>I tried with this below Jquery but that completly prevent my form by clicking the button also. I just want that form not to submit again on pdf file reload.</p>
  <pre><code>$(&quot;#orderForm&quot;).submit(function(e) {
      e.preventDefault();
  });
  </code></pre>