views:

160

answers:

2

I want yes/No alerts using jQuery,instead of ok/Cancel button.

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

Any other alternatives?

+1  A: 

Have a look at the jQuery UI:

http://jqueryui.com/demos/dialog/#modal-confirmation

jAndy
A: 

This might help...

FallenAngel