(primary.html)
<div>
Insert Any Text Here
</div>
(secondary.html)
<button class="start" onclick="updateContent()">Start</button>
(script.js)
function updateContent()
{
// How can I dynamically change the content in primary.html from here?
}
Clicking the button should trigger a change in the content displayed on primary.html. I've attempted using localStorage, but it wasn't successful. Any assistance with this matter would be greatly appreciated!