Hello,
if like me you have a multiples alerts , Here is a solution
function alerter(message)
{
var TimeMillisecondsClick = new Date();
if(TimeMillisecondsClick.getTime() > TimeMilliseconds.getTime() + 1000 )
{
navigator.notification.vibrate(2500);
navigator.notification.alert(
message, // message
donothing, // callback
'Erreur', // title
'Fermer' // buttonName
);
//alert(message);
TimeMilliseconds = new Date();
}
}