Question
I am using jEasy UI Framework for my project. I am using$.messager.confirm
to get a confirmation from the user.Which shows two buttonsOK
andCancel
.How can i change button text when i am using$.messager.confirm
?Example:
'ok' => 'yes',
'cancel' => 'no'
ANSWERE
$.messager.defaults.ok = 'Yes';
$.messager.defaults.cancel = 'No';
These are the two lines which will be need to change the text property of the prompt messenger in jEasy UI
No comments:
Post a Comment