jquery-easyui默认情况下,消息框的按钮文字是英文的OK  Cancel,但可以通过提供的方法进行修改,如:

            $.extend($.messager.defaults,{
                ok:"确定",
                cancel:"取消"
            });
            $.messager.confirm('Confirm','Are you sure you want to delete record?',function(r){   
                if (r){   
                    alert('ok');   
                }   
            });  

如下图:

easyui更改messager的OkCancel按钮为(中文)确定取消

相关文章:

  • 2022-12-23
  • 2021-11-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-26
猜你喜欢
  • 2022-12-23
  • 2021-05-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-28
  • 2022-12-23
相关资源
相似解决方案