Click here to Skip to main content
Sign Up to vote bad
good
See more: WebService
below given line of code is used to call webservice method in js file......
 
GetFields(fieldName,_PartnershipID, myEditor.onGetFieldsCompleted,myEditor.onGetFieldsFailed);
 
LISTNER WHEN THE WEB SERVICE CALL IS RETURNED SUCCESSFULLY
myEditor.onGetFieldsCompleted= function (result)
        {
 
            if (result != null)
            {
                if(result.length > 0)---here in result iam getting undefined
                {
                    do something   
              }
                 else
                 {
                    do something
                 }
            }
        }
Posted 9 Oct '12 - 22:27
Edited 9 Oct '12 - 22:44
Nelek26.3K


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 475
1 OriginalGriff 315
2 Maciej Los 260
3 Slacker007 240
4 Aarti Meswania 185
0 Sergey Alexandrovich Kryukov 8,953
1 OriginalGriff 7,134
2 CPallini 3,758
3 Rohan Leuva 3,066
4 Maciej Los 2,528


Advertise | Privacy | Mobile
Web02 | 2.6.130516.1 | Last Updated 10 Oct 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid