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 mohammadsh96.github.io #
 
PREVIOUS NEXT
Tagged: #settimeout #js
ADD COMMENT
Topic
Name
6+6 =