Refresh a DIV every 5 mins
I have found many ways to do the timing with setInterval and some ways of refreshing the DIV with refreshDiv
What I am trying to do is have a Div refresh every 5 min. If changes are made to the Div, the page will show it. I can not do a full page reload because i have a media player on the page and if the payer is active, I do not want it to be effected.
Here is my code. Where the ? is, is where I am lost.
counter = counter + 1;
document.getElementById("streamTitle").innerHTML = ? ;
<div id="streamTitle">Testing </div>
I know the HTML, Head< and Body tags are not there.