EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: varonica on February 26, 2013, 09:59:49 PM



Title: How to change property of $.messager.confirm ?
Post by: varonica on February 26, 2013, 09:59:49 PM
How can i change property's text when i'm using $.messager.confirm ? Please help me!!  :'( :'( :'( :'(
Example:
   'ok' => 'yes',
   'cancel' => 'no'


Title: Re: How to change property of $.messager.confirm ?
Post by: stworthy on February 28, 2013, 01:23:15 AM
Reset the 'ok' and 'cancel' properties.
Code:
$.messager.defaults.ok = 'Yes';
$.messager.defaults.cancel = 'No';


Title: Re: How to change property of $.messager.confirm ?
Post by: tumbas on October 31, 2017, 07:10:12 AM
thanks, it works :-D