mike
mike

Reputation: 93

ASP.Net Jquery UI Autocomplete "Object doesn't support this property or method"

In an ASP.net program, there is a UserControl that has a Master Page and this jquery isn't working, I get "Object doesn't support this property or method" The paths are correct. When I comment out the autocomplete line I get no errors. No other js files extend autocomplete When I have the exact code in a sample project it works!!! It's like it can't find jquery-ui-1.8.10.custom.

Ideas?

<link rel="stylesheet" href="../../CSS/jquery-ui.css" type="text/css" media="all" />
<script src="../../js/jquery-1.4.1.js" type="text/javascript"></script>
<script src="../../js/jquery-ui-1.8.10.custom.js" type="text/javascript"></script>

<script language="javascript" type="text/javascript">
    $(document).ready(function() {    
    $("input#companyListDropDown").autocomplete({
        source: ["c++", "java", "php", "coldfusion", "javascript", "asp", "ruby"]
       });   
   });
</script>

Upvotes: 1

Views: 7057

Answers (1)

mike
mike

Reputation: 93

there was more than one version of jquery loaded in the porject and that makes jquery ui freak out. With only one version of jquery autocomplete works

Upvotes: 2

Related Questions