Change yes/no labels in jqDialog confirm dialog?
This seems like it should be easy to do, but I've had no luck. The buttons that come up when I call the "confirm" method from the jqDialog plugin display default values of "yes" and "no." Under most circumstances this is fine, but I need to change their values to "confirm changes" and "discard changes" in one particular case. Can anyone suggest a way to do this?
My code so far...
($).jqDialog.confirm("Do you wish to keep these changes?",
function() { ... "yes" logic ... },
function() { ... "no" logic ...);
Thanks,
Alex