setTimeout Example

by Nikolay Petrov

HTML

<div id="info"></div>

JavaScript

setTimeout(function(){
alert('10 seconds');
}, 10000);