Javascript code display page only one time after first time log in
Answers
Answered by
0
Hey there,
Here is your answer,
I would like to implement a JavaScript code which states this: if the page is loaded completely, refresh the page immediately, but only once. I'm stuck at the "only once":
window.onload = function () {window.location.reload()}
this gives a loop without the "only once". jQuery is loaded if this helps.
Hope it helps
☆Mark as brainliest ☆
Here is your answer,
I would like to implement a JavaScript code which states this: if the page is loaded completely, refresh the page immediately, but only once. I'm stuck at the "only once":
window.onload = function () {window.location.reload()}
this gives a loop without the "only once". jQuery is loaded if this helps.
Hope it helps
☆Mark as brainliest ☆
Similar questions