This browser isn't using the script. Please use the monolithic document instead.
 DOM-1  «  < § >   Netscape CodeStock 1999
   Table Refresh Code
// Copy the specified dataset into the model.
function refreshModel(arraycurrent) {

 // Populate model with current datastore.
 for(var i=0; i < arraycurrent.length; i = i + 1)
  {
   model[i] = arraycurrent[i]
  }
 return model
}

// Refresh the model first, then the view.
function refreshView(dataset) {
 // Populate the model with new data.
 refreshModel(dataset)

 tablebody =
document.getElementsByTagName("TBODY").item(0)
 var count = 0
 replaceAllText(tablebody)
}

Copyright © 1999 General Picture ™. Permission granted to reproduce in whole or part without charge as long as http://www.generalpicture.com is cited as source.