Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

settimeout js

//You can also send a argument along with a timed call
setTimeout("your_fun('bob');", 1000)

function your_fun(name) { //Prints "Hello world! bob" after one second
	alert("Hello world! " + name);
}
Source by www.runoob.com #
 
PREVIOUS NEXT
Tagged: #settimeout #js
ADD COMMENT
Topic
Name
2+8 =