I have a function which generates an AJAX request to retrieve information. The display of this information requires modification of the interface - the structure of the function is roughly:
function getInfo() {
do AJAX request, success callback is onAjaxResponse setup interface to display data } function onAjaxResponse() { add data to the interface show interface }
Is it guaranteed that onAjaxResponse() will not execute until getInfo() has returned? The interface *must* be setup before it is shown, so if this guarantee is not there I must set up the interface in the response callback. A test in Firefox shows that this works but I'm not sure of what to search for to find out if it is guaranteed. Thanks --rob -- Rob Desbois Eml: [EMAIL PROTECTED]