Learn free online HTML5, javascript, and jquery Tutorials by Examples

Wednesday 14 December 2016

How can i delay a function

Delay a Function 💭









 Use setTimeout();

<script>
setTimeout (satish,7000);
        function satish(){
            console.log('its working');
        }
</script>

No comments:

Post a Comment