execute js with delay code example
Example: jquery delay to call function
$(this).delay(1000).queue(function() {
// your Code | Function here
$(this).dequeue();
});
$(this).delay(1000).queue(function() {
// your Code | Function here
$(this).dequeue();
});