By default, there are two buttons:\"ok\" and \"cancel\" in confirm(). Is there a way to rename them?
You can't change the buttons of the default confirm popup. A workaround is to recreate the whole popup in JavaScript. One such workaround is http://jqueryui.com/dialog/#modal-confirmation