1: 2: 3: 4: 5: 6: 7: 8: 9: 10:
function myfunction() { clearInterval(myInterval); CurrentRecord++; if (CurrentRecord == TotalRecords) { CurrentRecord = 0; } loadVariables("getdetails.asp?Record="+(CurrentRecord), this); } myInterval = setInterval(myfunction, 6000);
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11:
function myfunction() { clearInterval(myInterval); CurrentRecord++; if (CurrentRecord == TotalRecords) { CurrentRecord = 0; } loadVariables("getdetails.asp?Record="+(CurrentRecord), this); } var myInterval:Number = setInterval(myfunction, 6000);