Prevent form resubmission when page is refreshed

Share Now

Share on facebook
Share on pinterest
Share on twitter
Share on linkedin
Share on email

JavaScript Method

<script>
if ( window.history.replaceState ) {
  window.history.replaceState( null, null, window.location.href );
}
</script>
Nahid Mahamud

Nahid Mahamud

Web Developer | Graphic Designer | WordPress & Woo-commerce Expert