本文介绍了将验证摘要消息框标题更改为自定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,

我正在使用验证摘要.我的消息框显示良好,但标题为来自网页的消息"出现.我需要将此标题更改为我的习惯.

如果有解决方案,请提出建议.


Dear ,

I am using validation summary. My message box displayed well but at its title "Message from webpage" appears. I need to change this title to my custom.

Please suggest me if any solution .


Thanks.

推荐答案

<script type="text/javascript">
    window.alert = function (txt, title) {
        if (title === undefined) title = "Default Name";
        jAlert(txt, title);
    };
</script>




这篇关于将验证摘要消息框标题更改为自定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-29 05:29
查看更多