Today I marked http://stackoverflow.com/questions/30543171/a-callback-function-doesnt-work-in-an-asynchronous-callhttps://stackoverflow.com/questions/30543171/a-callback-function-doesnt-work-in-an-asynchronous-call as a duplicate of How do I return the response from an asynchronous call?How do I return the response from an asynchronous call? (Actually the OP asked the same questionsame question earlier, and I had closed it as duplicate).
As it is clear both the questions are regarding handling the value returned by an asynchronous method call in JavaScript. Now is that enough to mark it as duplicate? Was I right in doing so?
Also even after marking it as duplicate I had tried to offer some help to OP by suggesting some code snippets in JSFiddle.
Now the OP is again asking to reopen the question since their issue is not resolved. How should these sorts of cases be handled?