how to delay a function call ?

Answer Posted / punit

by following tricks:

1: using sleep call followed by occuring of event.
2: using do{
event generating call
}while(1)

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

snippet to prevent submission of form when certain/any validations got failed

1709


how to copy form data between different pages

1930


communication between main window and new windows

1882


Code to Block submission of form by pressing Enter Key

2267


how to create an anonymous function

1873






how to create a Custom Scrollbar

2225


Create a Menu that can be activated while clicking on Right Mouse button

1874


how to create Expandable and Collapsible Menus

2838


create Drop-Down Navigation Menus

1868


code to set the main window's size

1902


advance the focus to next consecutive fields when Enter Key is pressed

1991


function to combine two or more arrays

1863


code to keep a page Out of the browser history

1804


code to detect availability of cookies

1925


I have a doubt regarding including tags in a function. I have written a function in javascript in a html page. The function got called by clicking a button, i want to display the results in same html page by placing tags in the function. (this hmtl page is static page) Is this possible? example: