質問

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