1 Reply Latest reply on Dec 3, 2007 3:55 PM by NickTheNameless

    for loop in the results of sendAndLoad

    NickTheNameless Level 1
      i am using a for loop (with an i variable) in the results of a sendAndLoad. i am trying to attach the i on the end of the identifier, to get the results, but it's not working. what's wrong with this line?....

      var recordID = serverResponse.recordID(I);
      // i had to replace brackets with parentheses so the forum wouldn't think it was italic markup

      each of those variables is undefined. however, if i were to do this....

      var recordID = serverResponse.recordID1;

      it works perfectly. how can i use, and attach "i" on the end to make this for loop work?