Give a time delay for a function in Javascript

You people might have come across call a javascript function after some delay. I googled and find all incorrect things. Here i am posting the exact thing that needs.

<script type="text/javascript">
	}, 3000);

The above function “your_function_name()” will be called after 3 second


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s