Вопрос

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);

    });
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top