Answers for "how to write settimeout in js"

223

javascript settimeout

setTimeout(function(){
 	alert("Sup!"); 
}, 2000);//wait 2 seconds
Posted by: Guest on June-27-2019
3

setting timeout in javascript

setTimeout(function() {
            window.location = 'display_data.php';
        }, 3000);
Posted by: Guest on October-20-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language