What do you see in the browser network panel (are both requests firing, and
if so, what are the responses?) and JS console (any errors reported)?
On Sunday, June 5, 2016 at 7:26:57 AM UTC-4, Paolo Amboni wrote:
>
> I don't know if it is possible but:
>
> I need to query 4 different db with a single form input.
> Since each query may need some time to perform i want to show the the
> result of the first query as soon as it is available, and then move to the
> second query and so on.
>
> I tried calling multiple ajax function one for each query like :
>
> jQuery('#myform').submit(function() {
> ajax('{{=URL('lab')}}', ['codice'], ':eval');
> ajax('{{=URL('cep')}}', ['codice'], ':eval');
> return false;
> });
>
> but only the first works.
> Are there other methods to do such a thing?
>
> Thanks.
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.