I have a page that has 4 LOAD conponents. While those 4 components are
loading i click a button that should redirect me to other page.
The browser does not redirect and waits until the last component loads to
redirect to the other page.
That is not what i wanted so i decided to change my code.
i created another button so the user has to click that new button to have
the 4 components loaded.
This way i the user does not need the info from the 4 components can move
to another page without having to wait for them to load.

hope i was clear this time.

Regards


2016-12-07 3:45 GMT+00:00 Anthony <[email protected]>:

> It's not quite clear what you mean. Please show your code and explain
> exactly what is loading in the browser, what is being clicked, and what is
> happening.
>
> Anthony
>
>
> On Tuesday, December 6, 2016 at 10:56:35 AM UTC-5, Ramos wrote:
>>
>> the ajax calls i mean 4 LOAD() components..
>> i have to wait for all of then to load to click on a button and move to
>> anoher page..
>> I need to click and go to another page event if any of the LOAD
>> components is still waiting for data...
>> Ideas?
>>
>> 2016-12-06 14:39 GMT+00:00 António Ramos <[email protected]>:
>>
>>> I found the reason why.
>>> I have in my page 4 "ajax calls" and it only redirects after all of them
>>> got resolved.
>>> Is there a way to force the url redirection ?
>>>
>>> Regards
>>> António
>>>
>>> 2016-12-06 14:07 GMT+00:00 António Ramos <[email protected]>:
>>>
>>>> Hello i would like some comments on the following issue i have in an
>>>> app hosted on Webfaction.
>>>> I have a page with buttons.
>>>> Each button when clicked opens a page:
>>>>
>>>> This is the link url for a button
>>>> https://webfaction.server/fileit/events/list?itemID=1&t=enti
>>>> ties&type=1&uuid=07ddd6c2-7d25-4138-856c-6f77447398fa
>>>>
>>>>
>>>> The problem is that this page takes 9 seconds to open, but if in that
>>>> page if i press refresh in the browser it takes less than 1 second.
>>>>
>>>> Any ideas why?
>>>>
>>>> Regards
>>>>
>>>>
>>>> António
>>>>
>>>>
>>>>
>>>
>> --
> 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.
>

-- 
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.

Reply via email to