Skip to content

Instantly share code, notes, and snippets.

@0xnbk
Created October 19, 2010 04:59
Show Gist options
  • Save 0xnbk/633639 to your computer and use it in GitHub Desktop.
Save 0xnbk/633639 to your computer and use it in GitHub Desktop.
Changing Javascript Alert Button Text (For jQuery + jConfirm)
$.alerts.okButton="OKAYYYYYYYYYY";
$.alerts.cancelButton="CANCELLLLLLLLLL";
@0xnbk
Copy link
Author

0xnbk commented Oct 19, 2010

Before calling jAlert or jConfirm, you can set the button text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment