Saturday 14 September 2013

How to get the clicked button in notification.confirm() in phonegap application

How to get the clicked button in notification.confirm() in phonegap
application

I have used the Phonegap notification.confirm as like below,
navigator.notification.confirm(
'Do you want to continue ?',
function() {
console.log("Called");
},
'Game Over',
'Continue,Exit'
);
How can i trace the clicked button ?

No comments:

Post a Comment