JavaScript SelectRows wait for end request

LabKey Support Forum (Inactive)
JavaScript SelectRows wait for end request nicyon  2014-05-06 10:43
Status: Closed
 
Hello,


Thank you very much for your response. But I'm afraid I'm more interested, to quote your example, in having the alert message(failure or success) before the "Immediately after invoking selectRows()".

In other words, is there a way to wait for the function onSuccess to be finished before continuing to the next instruction, which is alert("Immediately after invoking selectRows()") in your example.

Thank you very much again in advance for any help