i have a dynamic textfield that is being populated from a data base…
now, i’d like to be able to refresh that content either onRelease or using something like setInterval…
I tried setInterval (see code below) but what i think is happening, being that xml has to load, is that it’s hogging it down causing a flicker/pause and eventually not pull anything up(assuming from the lag/load)
setInterval (refreshbox, 1000);
function refreshbox () {
theXML.load("http://www.mywebsite.com/xmlout.php");
}
is there a more efficiant way to approach this? Is there a way to only update the new stuff in the DB therefore eliminating almost all of the load time?
or it’s also quite possible my code just sucks and isn’t working properly