how to develop yes no confirmation using jquery
Use the native browser confirm dialog.
if(confirm("Are you sure?"))
{
//Ok button pressed...
}
else
{
//Cancel button pressed...
}
I have a solution, it is working for me.
$.alerts.okButton = ' Yes ';
$.alerts.cancelButton = ' No ';
jConfirm('Are you sure??', '', function(r) {
if (r == true) {
//Ok button pressed...
}
});