javascript中更改警报按钮文本时出现问题
问题描述:
大家好
我正在使用javascript代码,在此期间我需要警报,这很容易,但是我必须更改警报按钮的文本,如okey,click.
任何人都可以帮助我.
Hi all
I am working with javascript code during that i need alert which is easy but i have to change the alert button text like okey,click.
Anybody can help me.
答
您是否正在查看确认"类型的功能,就像编写"return Confirm(''Your Confirmation Message'')一样简单. )"标记中的事件.
但是,如果您正在寻找更可定制的(根据您的需求),那么您可能应该查看 ConfirmButton Ajax Control Toolkit中的Extender 或浏览此 CP文章.
Are you looking at "Confirm" kind of functionality then it is as simple as writing "return Confirm(''Your Confirmation Message'')" against the event in markup.
But if you are looking for something more customizable (to your needs) then may be you should look at ConfirmButton Extender from Ajax Control Toolkit or go through this CP article.