EasyUI Forum
May 19, 2024, 07:23:26 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Ok Cancel custom value option in $.messager.confirm not working [SOLVED]  (Read 8803 times)
aswzen
Sr. Member
****
Posts: 287


Indonesian

aswzen
View Profile WWW Email
« on: October 18, 2015, 07:47:46 PM »

see this fiddle, i just set the custom value of ok and cancel button but is does not work as well

http://jsfiddle.net/j03m32qd/

Thanks in advance
« Last Edit: February 03, 2016, 09:52:34 PM by aswzen » Logged

Regards,
Sigit

- Indonesian jEasyUI Facebook page : https://www.facebook.com/groups/jeasyuiid/
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: October 19, 2015, 12:19:10 AM »

Please try this:
http://jsfiddle.net/j03m32qd/1
Logged
aswzen
Sr. Member
****
Posts: 287


Indonesian

aswzen
View Profile WWW Email
« Reply #2 on: October 19, 2015, 01:38:58 AM »

okay thankyou, its working  Smiley

but this way absolutely looks dangerous and odd by changing the default value of messager option button..  Undecided
because every time i want to reset the button value i need to put the $.messager.defaults.cancel = 'Cancel' value again..

http://jsfiddle.net/j03m32qd/2/

by the way i saw the custom parameter of ok and cancel button in documentation, but i find no example or explanation about this..

Thankyou again..
xoxo
« Last Edit: October 19, 2015, 01:42:37 AM by aswzen » Logged

Regards,
Sigit

- Indonesian jEasyUI Facebook page : https://www.facebook.com/groups/jeasyuiid/
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!