javascript:AskConfirmation更改确定取消文本 [英] javascript:AskConfirmation change ok cancel text
本文介绍了javascript:AskConfirmation更改确定取消文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想更改以下代码的确定/取消按钮的文字:
ScriptManager.RegisterStartupScript(this,GetType(),Done,javascript:AskConfirmation(''+单击确定继续,取消以回滚+'');,true);
请告诉我这是怎么做到的。
问候,
Pranav
Hi,
I want to change the text for ok/cancel buttons for the following code :
ScriptManager.RegisterStartupScript(this, GetType(), "Done", "javascript:AskConfirmation(''" + "Click OK to continue and Cancel to rollback" + "'');", true);
Please let me know how can this be accomplished.
Regards,
Pranav
推荐答案
很抱歉,我认为使用内置的confirm()对话是不可能的。您唯一的选择是默认选项。您可以构建自己的模态对话框。
请参阅: -
http ://jqueryui.com/...al-confirmation [ ^ ]
Sorry but I think that is not possible using the built-in confirm() dialogue. Your only options are the default. You can construct your own modal dialogue.
Refer this:-
http://jqueryui.com/...al-confirmation[^]
您可以使用jquery对话框:
http://jqueryui.com/dialog/#modal-confirmation [ ^ ]
You can use jquery dialog for that :
http://jqueryui.com/dialog/#modal-confirmation[^]
这篇关于javascript:AskConfirmation更改确定取消文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文