On Mon, Apr 7, 2008 at 1:13 PM, dineshv <[EMAIL PROTECTED]> wrote:
>
> 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?
If you want it to go to the index class, you should use /act
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---