what would be the proper way of coding this function:
retValue gets set in the callback from the model.updateData(). The problem seems to be that the function is returning before the callback is called, hence, returning zero.
Can we make the function wait until the callback is done before returning? If so how would you do that?
Any thoughts?
Thank you.
Question
Function that returns the value from updateData
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

