Answers for "Set time out function in Javascript"

6

set timeout javascript

setTimeout( () => {
 	alert("J'aime les chats"); 
}, 2000);//wait 2 seconds
Posted by: Guest on March-06-2021
1

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