Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js refresh

function refresh(milliseconds) {
	console.log("Refreshing");
	setTimeout("location.reload(true);", milliseconds);
}

function your_code() {
	//code stuff
	refresh(1000); //refreshes after 1 second
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #refresh
ADD COMMENT
Topic
Name
8+8 =