JQuery UI function errors out: Object is not a property or method
Posted
by Luke101
on Stack Overflow
See other posts from Stack Overflow
or by Luke101
Published on 2010-06-01T06:09:31Z
Indexed on
2010/06/01
6:13 UTC
Read the original article
Hit count: 909
In the following code I get an error that says autocomplete function Object is not a property or method
Here is the code:
<title><%= ViewData["pagetitle"] + " | " + config.Sitename.ToString() %></title>
<script src="../../Scripts/jqueryui/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.core.min.js"
type="text/javascript"></script>
<script src="../../Scripts/jqueryui/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.core.min.js"
type="text/javascript"></script>
<script src="../../Scripts/jqueryui/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.widget.js"
type="text/javascript"></script>
<script src="../../Scripts/jqueryui/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.position.js"
type="text/javascript"></script>
<script src="../../Scripts/jqueryui/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.autocomplete.js"
type="text/javascript"></script>
<script language="javascript" type="text/javascript" src="/Scripts/main.js"></script>
<script language="javascript" type="text/javascript">
$(document).ready(function () {
Categories();
$('#tags1').autocomplete({ //error here
url: '/Tag/TagAutoComplete',
width: 320,
max: 4,
delay: 30,
cacheLength: 1,
scroll: false,
highlight: false
});
});
</script>
© Stack Overflow or respective owner