Posted By

parkerkrhoyt on 11/04/11


Tagged

phone confirm window native mobile dialog use device phonegap gap


Versions (?)

Use Native Confirmation Dialog with PhoneGap


 / Published in: JavaScript
 

  1. $( '#uncle' ).bind( 'touchend', function( e ) {
  2. navigator.notification.confirm(
  3. 'Are you sure you are done?',
  4. function( button ) {
  5. // alert( 'Success: ' + button );
  6. },
  7. 'Question For You',
  8. 'Yes,No,Bugger Off'
  9. );
  10. } );

Report this snippet  

You need to login to post a comment.