settimeout js on page loading code example
Example 1: windows.load with settimeout
window.onload = function(){
setInterval(function(){
alert("Hello");
}, 10000);
};
Example 2: windows.load with settimeout
window.onload = function(){
setTimeout(function(){
alert("Hello");
}, 10000);
};