Yes or No confirm box using jQuery

Я хочу получать оповещения «да / нет» с помощью jQuery вместо кнопки «ОК» / «Отмена»:

jQuery.alerts.okButton = 'Yes';
jQuery.alerts.cancelButton = 'No';                  
jConfirm('Are you sure??',  '', function(r) {
    if (r == true) {                    
        //Ok button pressed...
    }  
}

Любые другие альтернативы?

114
задан tshepang 22 April 2014 в 22:41
поделиться