关于js的一个消息提示框

function getCalendarInfo(){
            $.ajax({
                url : '${ctx}/indpController/getCalendarInfo',
                dataType : 'text',
                async : true,
                type : "POST",
                success : function(result) {
                    if(result=='N'){
                        var index = layer.open({
                            title: '消息提示',
                              content: "您有xxxxxxxxxxxx需填写,请注意~",
                            offset:'rb',
                            shade:0,
                            btn: ['关闭'],
                                btn1: function(index, layero) {
                                    noShow = true;
                                    layer.close(index);
                            }
                        });
                    }
                }
            });
        }

记录作为java实习生的点滴

你可能感兴趣的:(关于js的一个消息提示框)