elrte:对话框不是函数错误 [英] elrte : dialog is not a function error

查看:95
本文介绍了elrte:对话框不是函数错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我单击添加图像"或添加Flash"或添加表格"按钮时,尤其是当我单击打开对话框的按钮时,出现此错误.

When I click add image or add flash or add table button, especially when I click buttons that open a dialog box, I'm getting this error.

您认为是什么问题?

in firefox

    Error: jQuery("<div />").addClass(this.opts.class).dialog is not a function
    source file: elrte/js/elrte.min.js
    Line: 3

 in chrome

    Uncaught TypeError: Object [object Object] has no method 'dialog' elrte/js/elrte.min.js:3

推荐答案

我认为问题与错误消息所解释的完全相同.您的jQuery对象没有名为dialog的方法.

I think the problem is exactly as the error messages explain. Your jQuery object doesn't have a method named dialog.

jQuery默认没有dialog方法,而且显然没有提供.

jQuery doesn't have a dialog method by default, and apparently one hasn't been provided.

jQueryUI 确实有一个,因此如果您打算使用它,则需要加载它.

jQueryUI does have one, so you'd need to load that if that's the one you're intending to use.

这是jQueryUI对话框的演示页面.

这篇关于elrte:对话框不是函数错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆