Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery alert with yes no

    if (confirm('Are you sure ?')) {
        console.log('ok');
    }else
    {
      console.log('cancel')
    }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #alert
ADD COMMENT
Topic
Name
1+6 =