$.messager.show(options)

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>消息提示框</title>
    <link href="/jquery-easyui-1.2.4/themes/default/easyui.css" rel="stylesheet" type="text/css" />
    <link href="/jquery-easyui-1.2.4/themes/icon.css" rel="stylesheet" type="text/css" />
    <script src="/jquery-easyui-1.2.4/jquery-1.6.4.min.js" type="text/javascript"></script>
    <script src="/jquery-easyui-1.2.4/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="/jquery-easyui-1.2.4/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            $.messager.show({
                title: "操作提示",
                msg: "请选择您要删除的记录!",
                showType: 'slide',
                timeout: 5000
            });
        });
    </script>
</head>
<body>
</body>
</html>

<script type="text/javascript">
    $(function () {
        var options = {
            title: "操作提示",
            msg: "请选择您要删除的记录!",
            showType: 'slide',
            timeout: 5000
        };
        $.messager.show(options);
    });
</script>

效果图:

$.messager.show(options)

你可能感兴趣的:($.messager.show(options))