How to reload the site in php using button and javascript onclick='location.reload'? It just get blank after i use this. | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

How to reload the site in php using button and javascript onclick='location.reload'? It just get blank after i use this.

Php js reload

27th Mar 2018, 8:53 PM
Doodz
Doodz - avatar
2 Réponses
0
onclick="location.reload()" reload is a method of the location object and as such needs ().
27th Mar 2018, 11:22 PM
Adam
Adam - avatar