views:

1774

answers:

2

When i try to execute the following code am getting the error in IE like. Object doesn't support this property or method

 <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>

Please help me on this issue.

A: 

Maybe it's 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's the latest version you're using. It may have a bug fix with it.

sanchothefat
A: 

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

MGOwen