New course! Every coder should learn Generative AI!
Try a free lesson+ 3
Refresh. Button
How to add a refresh button in html page using js.
1 Answer
+ 4
location.reload() will help you. just wrap it with a function and assign that function to button click event