thinkbox点击OK没反映,还有错误,怎么回事

浏览:639 发布日期:2014/06/01 分类:求助交流
$.thinkbox.defaults('style', 'ta');
            $.thinkbox.load('add.html',{
                'title' : 'asdf', 
                'drag'  : false,  //是否允许点击标题拖动对话框
                "dataEle" : this, //设置此属性的弹出框只允许同时存在一个
                "modal" : true,    //模态框
                "modalClose" : false, //关闭点击模态框背景就销毁窗口
                "unload":true,  //关闭时销毁HTML内容
                "center" : false, //自定义对话框位置必须先关闭默认居中的选项
                "close":false, //关闭对话框X按钮
                // "fixed" : true ,
                "x":450,
                "y":140,
                // "locate":['left', 'top'],
                "width": '500',
                "height": '300',
                "button" : {'ok':'确 定', "cancel" : "取 消", },

                'okClick' : function(){
                alert('你选择了确定!');
                },
                'cancelClick' : function(){
                    alert('你选择了取消!');
                }
            });
TypeError: this[this.current] is undefined
    

...n.show[0]){case"slideDown":r.stop(true,true).slideDown(n.show[1],i);break;case"f...

jquery....min.js (第 11 行)
TypeError: o[this.key] is undefined
    

...n.show[0]){case"slideDown":r.stop(true,true).slideDown(n.show[1],i);break;case"f...
最佳答案
评论( 相关
后面还有条评论,点击查看>>