Verify current interval value?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • jdog

    Verify current interval value?

    I have a script that I believe is refusing to clear the interval. I
    prefer to do the troubleshooting myself as part of the learning
    process, but have been unable to find a way of checking the current
    interval value.

    I'd like to be able to validate the setting and clearing of the
    interval. Something like:
    a = setInterval('so meFunction()', someInterval);
    interval_set = getInterval(a);
    clearInterval(a );
    interval_cleare d = getInterval(a);
    Unfortunately getInterval doesn't exist. Any ideas?


    Any ideas?

  • Michael Winter

    #2
    Re: Verify current interval value?

    On 5 Oct 2004 14:10:23 -0700, jdog <jlincoln3@hotm ail.com> wrote:
    [color=blue]
    > I have a script that I believe is refusing to clear the interval. I
    > prefer to do the troubleshooting myself as part of the learning process,
    > but have been unable to find a way of checking the current interval
    > value.[/color]

    You can't. You'll have to check the value passed for the second argument.

    If you can't seem to solve the problem, post a short example (preferably a
    link to a small page that demonstrates the problem).

    [snip]

    Mike

    --
    Michael Winter
    Replace ".invalid" with ".uk" to reply by e-mail.

    Comment

    Working...