Title: bind function when ok button on messager confrim click Post by: Opan Mustopah on May 09, 2015, 03:06:29 AM hello again,
the title says all. it is possible to do that? . i already read carefully the document, but there is not method of function to get the ok button, so i can bind that button to some function. my purpose to do this is because i have already a static function that it called with many form, and i can't change or modify that function which will impact to other form . many thanks for the answer Title: Re: bind function when ok button on messager confrim click Post by: stworthy on May 09, 2015, 08:56:51 AM After enter something on the textbox and then click the 'Ok' button, the callback function is called. Please refer to the following code.
Code: $.messager.confirm('Confirm', 'Are you sure to exit this system?', function(r){ |