-
-
Save nocodesupplyco/253e8c6911e45b9800b1fb9b86319b36 to your computer and use it in GitHub Desktop.
Reload Page After Form Submit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Refresh page after 7 seconds of any form submission | |
$(function() { | |
$(document).on('submit', 'form', function() { | |
setTimeout(function() { location.reload(true); }, 7000); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment