Title: Ok Cancel custom value option in $.messager.confirm not working [SOLVED] Post by: aswzen 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 Title: Re: Ok Cancel custom value option in $.messager.confirm not working Post by: stworthy on October 19, 2015, 12:19:10 AM Please try this:
http://jsfiddle.net/j03m32qd/1 Title: Re: Ok Cancel custom value option in $.messager.confirm not working Post by: aswzen on October 19, 2015, 01:38:58 AM okay thankyou, its working :)
but this way absolutely looks dangerous and odd by changing the default value of messager option button.. :-\ 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 |