Django调试工具栏与jquery UI冲突
在模板中,我导入jquery、jqueryUI和创建对话框的java脚本代码:Django调试工具栏与jquery UI冲突,jquery,django,jquery-ui,conflict,django-debug-toolbar,Jquery,Django,Jquery Ui,Conflict,Django Debug Toolbar,在模板中,我导入jquery、jqueryUI和创建对话框的java脚本代码: <!DOCTYPE html> <html> <head> <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}/css/jquery-ui-1.9.2.custom.css"/> <script type="text/javascript" src="{{ STATIC_U
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}/css/jquery-ui-1.9.2.custom.css"/>
<script type="text/javascript" src="{{ STATIC_URL }}/js/jquery-1.8.3.js"></script>
<script type="text/javascript" src="{{ STATIC_URL }}/js/jquery-ui-1.9.2.custom.js"></script>
<script type="text/javascript" src="{{ STATIC_URL }}/js/my_script.js"></script>
</head>
<body>
<div id="bla" title="Basic dialog">
<p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized
and closed with the 'x' icon.</p>
</div>
</body>
</html>
对话框显示,调试工具栏可见,但当我单击对话框的“关闭”按钮时,调试工具栏也消失。此外,当我单击任何面板时,都不会发生任何事情
有人可以帮忙吗?您是否尝试过将正在使用的类名更改为其他名称?这可能是相互矛盾的。我从来没有遇到过这个问题,我广泛使用这两种方法。你们有完整的例子,我使用的类名是什么?这里是一个ID,ID是唯一的。无论如何,我认为django工具栏中没有使用这样的名称。
$(function() {
$( "#bla" ).dialog();
});