Skip to content

Tag Archives: ASP.Net Chat script

A Simple Chat script using ASP.Net C#

11-Sep-09

Few days back one of my colleague was looking for a simple chat script in ASP.Net, but he can’t found one. Almost all of the chat scripts were in ASP and he want to do it for an internal site. So I thought about implementing one. And here is the simple script using ASP.Net’s Page [...]

Set timeout and Clear timeout in Javascript

16-May-07

Timing events in javascript helps to execute a function, after a specified time interval.
setTimeout() – Executes a code some time in the future.
clearTimeout() – Cancel an existing setTimeout event.

var somevariable = setTimeout("function_to_execute",milliseconds);
clearTimeout(somevariable)

Here is sample code snippet for a Javascript counter using SetTimeout and ClearTimeout functions.
Timing events in javascript helps to execute a function, after a [...]