I would like a page to be reloaded when the user press a button on the index.
Here what it looks like...
-index.php
<h1>Press the reload button to reload main.php</h1>
<a class="btn" id="reload">Reload</a>
-main.php
<h1>When the button is pressed on index this page should reload.</h1>
Basically there should be two devises one on index.html and the other on main.html. When the reload button is pressed the other device should reload.
Sorry for the lack of code, I looked and couldn't find anything on this.