I have a form in html which has an action that executes another page.
however I need that new page to load properly in order for the script to function correctly.
I could do refresh onload however my page could take up to more than 30 secs to load therefore the time would be way too long.
Do you know how I could load the page properly when submitting a form?
Thanks
Refer this Page Reloading the page
Use this code .
setTimeout("location.reload(true);", timeoutPeriod);
otherwise add this code.
$('#PageRefresh').click(function() {
location.reload(true);
});
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.