The clearTimeout () method is used to stop the timer started with the method setTimeout () . Here's an example:
/ / Set a timer and save it in a variable
var t = setTimeout ("alert ('centre-equestre-lepuy.com')", 3000);
/ / Disable the timer clearTimeout method passing the name of the variable created earlier
clearTimeout (t);
| |
CSS (Course)
Web Design and Accessibility according to W3C CSS and XHTML. Starting from 29 €. |
| |
HTML (Course)
The markup language for the Web from 29 €. |
| |
Javascript (Course)
Complete guide to client-side scripting. From 39 €. |