0
How to add a refresh button to able its refresh? Accept JavaScript code.
Animation css https://code.sololearn.com/W5MF33D37wM4/?ref=app
2 Respuestas
+ 3
Try to remove the whole body content, and reload it back.
function refresh () {
var body = document.body.innerHTML;
document.body.innerHTML = "";
setTimeout(function () {
document.body.innerHTML = body;
},0);
}
https://code.sololearn.com/WYTaujVA0x6z/?ref=app
0
Nice! Thanks Calvin.