Quote Originally Posted by sapator View Post
Is this your correct code? First please use code tags to wrap your code so we can see it better.
Also if this is your code then "respcode" is never declared. At least as a response as i am not sure that JS won't treat respcode as an object anyhow.
Thanks for your value able reply which actually helps me to solve this.
The main issue was this that I was using OnSuccess function on both the calls I changes OnSuccess to OnSuccess1 and it works fine now.
Thanks again.