Hi,
I use ColdFusion.navigate to call a cfc method. In this function, it loads a list from database and set the div innerhtml to the list content.
Then, get the list and it can do the confirmation function.
However, I find that it always call the confirmation function before loading the list complete.
What I use is the following:
ColdFusion.navigate('cfc/control.cfc?method=findSimilarName&new_name='+encodeURIComponent( document.getElementById('name').value),'tempMessage', confirmUpdate(i));
findSimilarName method will set the similar name list to a div named similarName. And I will use it to do the confirmation.
Is there any method to force ColdFusion.navigate calling my confirmation function after the findSimilarName method completed?