I know a lot of people have had this issue, and I've seen that for these guys its reference duplication. But for me I cannot see anywhere anything that has been duplicated.
Here is my code:
HTML
<title>The HUB</title> <link rel="stylesheet" href="/css/styles.css" type="text/css" />
<link rel="stylesheet" href="/css/jquery.ui.all.css">
</head>
<body>
<script type="text/javascript" src="/js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="/js/hub.js?n=1"></script>
<script type="text/javascript" src="/js/testSignal.js"></script>
<script type="text/javascript" src="/js/ui/jquery.ui.core.js"></script>
<script type="text/javascript" src="/js/ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="/js/ui/jquery.ui.mouse.js"></script>
<script type="text/javascript" src="/js/ui/jquery.ui.draggable.js"></script>
<div id="wrapper"> .... <div id="dialog"><p>Some Text</p></div></div>
jQuery
$(document).ready(function(){
$("#dialog").dialog({ autoOpen: false });
$("#testSignalBtn").click(function(){
$("#dialog").dialog("open");
return false;
});
});
Ive tried reordering all of the javscript files, enabling some and not others etc, and it doesn't seem to work. The file hub.js?n=1 does use jQuery and has no problems. - It's not a file I wrote, I've take over this from someone else. And I have tried disabling that file, but I still get the same problem.
Here is what other people have said on the same thing: Uncaught TypeError: Object [object Object] has no method 'dialog' and here too: jQuery Uncaught TypeError: Object[object Object] has no method slider