Jquery ui draggable in Internet Explorer (IE) - object does not support this method

When I try to execute the following code in IE:

    <script type="text/javascript">
        google.load("jquery", 1);
        google.load("jqueryui", "1.5.3");


  $(document).ready(function()        
  {            
    $("#main-dialog").draggable();        
  });    

</script>

<div id="main-dialog">    
  This is just some simple content 
</div>

      

The following error message appears:

Object does not support this property or method

Why am I getting this error?

0


source to share


2 answers


This may be my ignorance of the google ajax API, but where you load jquery with the parameter "1" try using "1.2.6" to make sure it is the latest version you are using. He may have a bug fixed.



0


source


I had an error similar to this, it turned out that my custom jQuery UI load was missing some dependencies. Try to go back to the jQuery UI site and load it again, but check all boxes.



0


source







All Articles