
September 18th, 2001, 04:28 PM
|
|
Senior Citizen
|
|
Join Date: Jan 2001
Location: leftcoast
Posts: 2,019
Time spent in forums: < 1 sec
Reputation Power: 15
|
|
|
Not sure I follow the logic of exactly what you're trying to do, but a couple of obvious things:
1) Why set an interval only to clear it immediately? setTimeout (notice the intercapitalization) was designed for run-once timers
2) reload() is a function - don't forget the parentheses
3) Are you declaring tmrRefresh globally (or, alternately, window.tmrRefresh) ? A variable local to the 'launcher' function dies when it does
Also, there's no document.location property (it's a synonym for document.URL) and it doesn't have a reload() method. You presumably want the window.location property.
Last edited by adios : September 18th, 2001 at 04:36 PM.
|