Refresh. Button | Sololearn: Learn to code for FREE!
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.

18th Dec 2016, 11:28 PM
Msaligs
Msaligs - avatar
1 Answer
+ 4
location.reload() will help you. just wrap it with a function and assign that function to button click event
18th Dec 2016, 11:35 PM
Demeth
Demeth - avatar