[英]jQuery Ui dialog is not showing
I am trying to use jQuery Ui dialog. 我正在尝试使用jQuery Ui对话框。 Here is my code
这是我的代码
<body>
<div id="myDialog" title="This is the title!">
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean sollicitudin. Sed
interdum pulvinar justo. Nam iaculis volutpat ligula. Integer vitae felis quis diam
laoreet ullamcorper. Etiam tincidunt est vitae est.
</div> <!--end of id="myDialog" -->
<script type="text/javascript" src="development-bundle/jquery-1.7.1.js"></script>
<script type="text/javascript" src="development-bundle/ui/jquey.ui.core.js"></script>
<script type="text/javascript" src="development-bundle/ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="development-bundle/ui/jquery.ui.position.js"></script>
<script type="text/javascript" src="development-bundle/ui/jquery.ui.dialog.js"></script>
<script>
(function($){
$("#myDialog").dialog();
})(jQuery);
</script>
</body>
But i am getting error 但是我出错了
uiDialogTitlebar.find("*").add(uiDialogTitlebar).disableSelection is not a function
Why this error is coming and how can i fix it? 为什么会出现此错误,我该如何解决? I am using FireFox 11.0
我正在使用FireFox 11.0
Thanks 谢谢
jquery 1.7 not work well with jquery ui. jQuery 1.7不适用于jQuery UI。 When you click to object with options jquery ui - his load jquery 1.7 second time, and in this issue.
当您单击带有选项的对象jQuery UI时-第二次加载jQuery 1.7,并且出现此问题。 loock at firebug or chrome network(load files in site)
在萤火虫或Chrome网络中奖(在网站中加载文件)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.