
I am consistently getting this error when I use the code supplied here, even after updating the database information etc.
http://www.roseindia.net/tutorial/ajax/jquery/autocomplete.html
"Fatal Error: Call to a member function fetch_object() on a non-object"
Now the code I am using is this, I added some slight variant to it as I wanted to go through two tables instead of one.

Here is an example of Jquery Autocomplete box.
<script>
$(function() {
var availableTags = [
"ActionScript",
"AppleScript",
"Asp",
"BASIC",
"C",
"C++",
"Clojure",
"COBOL",
"ColdFusion",
"Erlang",
"Fortran",
"Groovy",
"Haskell",
"Java",
"JavaScript",
"Lisp",
"Perl",
"PHP",
"Python",
"Ruby",
"Scala",
"Scheme"
];
$( "#tags" ).autocomplete({
source: availableTags
});
});
</script>
<div class="demo">
<div class="ui-widget">
<label for="tags">Tags: </label>
<input id="tags">
</div>
</div><!-- End demo -->
<div style="display: none;" class="demo-description">
</div>
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.