uncaught exception: cannot call methods on dialog prior to initialization; attempted to call method 'open'
$(function() {
$( "#dialog" ).dialog({
autoOpen: false,
show: "blind",
hide: "explode"
});
$( "#opener" ).live('click',function() {
$( "#dialog" ).dialog( "open" );
return false;
});
});
if ( isMethodCall ) {
this.each(function() {
var instance = $.data( this, name );
if ( !instance ) {
throw "cannot call methods on " + name + " prior to initialization; " +
"attempted to call method '" + options + "'";
} ...
...
<div class="demo">
<div id="dialog" title="Basic dialog">
<p>This is an animated dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>
</div>
<button id="opener">Open Dialog</button>
</div><!-- End demo -->
<script src='<%= Page.ResolveClientUrl("~/Admin/jsLib/jqueryAutocomplete/jquery.autocomplete.js") %>' type="text/javascript"></script>
<script src='<%= Page.ResolveClientUrl("~/Admin/jsLib/jqueryAutocomplete/lib/thickbox-compressed.js") %>' type="text/javascript"></script>
<script src='<%= Page.ResolveClientUrl("~/Admin/jscalender/jquery-ui.min.js") %>' type="text/javascript"></script>
<script src='<%= Page.ResolveClientUrl("~/Admin/jscalender/jquery-ui.min.js") %>' type="text/javascript"></script>
<script src='<%= Page.ResolveClientUrl("~/Admin/jsLib/jqueryAutocomplete/jquery.autocomplete.js") %>' type="text/javascript"></script>
<script src='<%= Page.ResolveClientUrl("~/Admin/jsLib/jqueryAutocomplete/lib/thickbox-compressed.js") %>' type="text/javascript"></script>