Question and answer is powered by AnsPress.io
I want to change the ‘Ok’ button with ‘Yes’ and the ‘Cancel’ to ‘No’. How can I do that?
Here is your answer. Hope this will help.
swal({ title:"Are you sure?", text:"You want to Cancel the Process!", type:"warning", showCancelButton:true, confirmButtonColor:'#DD6B55', confirmButtonText "Yes", cancelButtonText:"No", closeOnConfirm:false, closeOnCancel:false })