-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
Dear Sir/Madam,
how to write the script two functions, such as start a timer & execute a function in 5 minutes & 30 seconds and also execute a function every 2 minutes ? is it true like below :
$('#div-id').timer({
duration: '5m30s',
callback: function() {
alert('Time up!');
}
});
$('#div-id').timer({
duration: '2m',
callback: function() {
console.log('Why, Hello there');
},
repeat: true
});
Thanks in advance
Regards,
Arief
Metadata
Metadata
Assignees
Labels
No labels