Yii.js

Documentation says,


You may override this by setting `yii.confirm`.

Any example how and where can I overide default implementation of functions?

In any code you register yourself. JavaScript allows you to override anything after original code was initialized.

Nice. Works like a charm, thanks.