user434541
user434541

Reputation: 1305

Auto complete box implemented using appengine

I am developing an application using python version of appengine. I would like to implement a auto complete box in my application. The suggestions for the auto-complete options will be derived from a string property in my data model. Please help by providing an example of a similar implementation.

Upvotes: 1

Views: 731

Answers (2)

Mohammad Efazati
Mohammad Efazati

Reputation: 4930

Upvotes: 1

Abdul Kader
Abdul Kader

Reputation: 5842

You can have a look at the jquery auto complete here

HTML :

$("#search_users").autocomplete(URL);

PYTHON:

        q = (self.request.GET['q']).lower() 
        #query on model 
        for records in result:
            print records+"|"+records+"\n"

Upvotes: 0

Related Questions