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!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
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 Antworten
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