hi all, I want a Confirm dialog, but want it's button's names to be changed to some other values like 'Add' and 'Update' instead of 'Ok' and 'Cancel', is it possible to change the labels of buttons of comfirm dialog, or is there any other function where I can customize the dialog...
I am not a javascript expert but as far as I know it cannot be customized. What you can do is make a page that looks similar to the dialog with the colours same as Confirm dialog and display that as popup window.
JavaScript cannot be customized to show user defined texts on the alerts & dialog boxes.But VBScript offers a variety of dialogs, like Yes-No, Yes-No-Cancel, and many more. What you can do with JavaScript is create a modal window, with whatever button you require.