Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
HTML and CSS
Methods
 clearTimeout Method

  Switch on low bandwidth view
clearTimeout Method

Cancels a time-out that was set with the setTimeout method.

Syntax

object.clearTimeout(iTimeoutID)

Parameters

iTimeoutID Required. Integer that specifies the time-out setting returned by a previous call to the setTimeout method.

Return Value

No return value.

Standards Information

There is no public standard that applies to this method.

Applies To

window, Window Constructor
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
tip - use - from popup      Mr. Raymond Kenneth Petry   |   Edit   |   Show History

To use this method from a popup, both method and argument must refer to parent: e.g. parent.clearTimeout(parent.timeoutid) ... neglect to do-so, does-not cause an error, Just fails to clear.... [alt. try with(parent) clearTimeout(timeoutid)]

This requirement is so even though timeoutid's appear to be consecutive (minorly increasing) among parent and popup windows....

Tags What's this?: tip (x) Add a tag
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker