Hello,
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.
Code HTML4Strict:<script langauge="javascript"> window.setInterval("refreshDiv()", 5000); function refreshDiv() { counter = counter + 1; document.getElementById("streamTitle").innerHTML = ? ; } </script> <div id="streamTitle">Testing </div>
I know the HTML, Head< and Body tags are not there.


Reply With Quote



Bookmarks