Not sure whether it will work on change client script, but it worked for me in the SP widget client controller. But you can give it a try.
function(spModal) {
var c = this;
// more control, passing options
c.onConfirmEx = function() {
...
Hello, I'm Shreeharsh from Bengaluru.
Currently working as a Servicenow Developer and i have been working on Servicenow Platform from past 6 months.
Recent Adventure.... Umm... went on a one day Long Drive on bike and covered 400KMS.