How to create a custom JavaScript​ page reload | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to create a custom JavaScript​ page reload

I want to create a custom page reloader which reload the page when user input the time in seconds in the textbox

20th May 2017, 9:58 AM
Shivam Kumar
Shivam Kumar - avatar
3 Answers
+ 19
//code..... location.reload(); //code.....
20th May 2017, 10:10 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 3
make it an onclick button, that triggers the function @ValentinHacker gave you.
20th May 2017, 10:19 AM
Manual
Manual - avatar
0
I am telling to reload it by the user time input
20th May 2017, 10:12 AM
Shivam Kumar
Shivam Kumar - avatar