DIV auto-refresh

  • Started
  • Last post
  • 1 Response
  • StuBru

    I have this div with a linked js file as content, and I want it to refresh every 60 sec. How the fuk do I this without using the meta refresh tag (don't want the whole page to reload) or AJAX (too complicated for the moment, will learn eventually but not now)? Tia!

  • UndoUndo0

    use setInterval(functionName, milliseconds)

    functionName = the name of your function

    milliseconds = the number of milliseconds between each call of the function (you need 60000)

    you write functions like this.

    myFuncname = function(){
    // do something
    }