Welcome Guest, Not a member yet? Register   Sign In
how to delay?
#4

(11-16-2020, 07:07 AM)richb201 Wrote: ajax, yes.

Then you should wait until the ajax request is completed before you continue. By waiting I mean use a callback function that will be called when the ajax request is completed. That will guarantee that you can proceed with what you need to do next. Do not use a real waiting function with a fixed number of milliseconds to wait. It's never reliable and also bad user experience if it freeze the page.
Reply


Messages In This Thread
how to delay? - by richb201 - 11-15-2020, 07:13 PM
RE: how to delay? - by includebeer - 11-16-2020, 05:15 AM
RE: how to delay? - by richb201 - 11-16-2020, 07:07 AM
RE: how to delay? - by includebeer - 11-16-2020, 07:27 AM
RE: how to delay? - by richb201 - 11-16-2020, 08:28 AM
RE: how to delay? - by includebeer - 11-16-2020, 02:42 PM
RE: how to delay? - by InsiteFX - 11-16-2020, 12:44 PM



Theme © iAndrew 2016 - Forum software by © MyBB