I use this function in javascript to call web service (WCF):
function Do(caller)
{
MyService.GetClient(some_id, CallBackGetClient);
}
function CallBackGetClient(WebServiceResult)
{
var result = WebServiceResult;
etc.
}
Now I want to pass parameter (caller) to CallBackGetClient function so I can make dictinction who called Do() function. How to pass a parameter?