jQuery Autocomplete fetch_object fatal error?

Ads
 

jQuery Autocomplete fetch_object fatal error?

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.

View Answers

June 19, 2012 at 5:24 PM

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>

Ads









Related Tutorials/Questions & Answers:
jQuery Autocomplete fetch_object fatal error?
errore
Advertisements
jQuery autocomplete with jsonp
jQuery UI Widget : Autocomplete
is it possible to add a button inside an autocomplete jquery ui plugin?
select value from autocomplete textbox using jquery in jsp from database.
select value from autocomplete textbox using jquery in jsp from database.
mysql_fetch_object and mysql_fetch_array.
Selecting value from autocomplete textbox using jquery in jsp
Selecting a radio button in jquery autocomplete from database value
errors
java find the error1
autocomplete
java find the error4
java find the error7
java find the error3
JQuery
java find the error2
autocomplete(): Spring mvc with jquery: I am not getting correct value in the text filed. Please help me
java find the error5
JQuery
JQuery
Jquery
jquery
JQuery
jQuery
jquery
JQuery
Need urgent help with C++ errors!
jQuery - jQuery Tutorials and examples
What is the errors?

Ads