With the JQuery Autocomplete plugin, when the user starts typing into
an input box, a request is sent to the specified backend
("my_autocomplete_backend.php"), with a GET parameter named q that
contains the current value of the input box and a parameter "limit"
with the value specified for the max option. For example, a value of
"foo" would result in the request url: my_autocomplete_backend.php?
q=foo&limit=10
In Python/webpy, my backend program is called act.py with:
urls = (
'/act', 'index',
'/returnResults', 'returnResults',
)
So, the backend to be called (with a url) is autocomplete("/act") -
yes/no?
Dinesh
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---