---
title: "problem in using timer"  
description: "problem in using timer"  
author: "sourabh kumar"  
published: 2011-03-01  
updated: 2011-03-01  
canonical: https://www.mindstick.com/forum/178/problem-in-using-timer  
category: "javascript"  
tags: ["javascript"]  
reading_time: 1 minute  

---

# problem in using timer

how to use the [timer](https://www.mindstick.com/articles/52/creating-timer-at-runtime-in-c-sharp-dot-net) in [javascript](https://www.mindstick.com/articles/874/how-to-create-watermark-text-for-textbox-by-using-javascript)?\

## Replies

### Reply by Amit Singh

In JavaScript, we use the following method to implement the timer functionality\
1)setTimeout("functionName",delay);\
note: give the fuction name and delay is milliseconds value. and its return type is timerid.\
2)closeTimeout();\
3)setIntervalTime("functionName", delay)\


---

Original Source: https://www.mindstick.com/forum/178/problem-in-using-timer

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
