You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 :
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
The text was updated successfully, but these errors were encountered: