Computer Science, asked by Zack670, 1 year ago

Javascript code display page only one time after first time log in

Answers

Answered by Ishika1269
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 ☆

Similar questions