How to function a refresh button in a webpage?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

How to function a refresh button in a webpage??

15th May 2019, 5:37 PM
//(AnOnYmOuS);
3 Answers
+ 3
I am just a beginner and as i know to reload page using javascript we use this code sorry if any mistake <script> location.reload(); </script> <script> <button onclick="location.reload();">Refresh Page</button> </script>
16th May 2019, 6:42 AM
pramod lamichhane
pramod lamichhane - avatar
+ 6
@Y.K Thanks bro ☺️☺️
15th May 2019, 6:46 PM
//(AnOnYmOuS);
0
How to refresh a particular HTML element and also refresh php script in side particular element. Using JavaScript?
25th May 2019, 7:44 PM
Jawed Ahmed Khakhrani
Jawed Ahmed Khakhrani - avatar