Loading ...
Sorry, an error occurred while loading the content.

201JSON Prob

Expand Messages
  • alvinz_c
    Jan 7, 2006
      Hi, i have a json data like

      var celldata = [ {firstcell:"yyy",secondcell:"xxx"},

      {firstcell:"yyy",secondcell:"xxx"},

      {firstcell:"yyy",secondcell:"xxx"}
      ];


      By calling celldata.length would return 3 (3 rows), but how do I call
      so that it could determine the number of "columns", which supposed
      return 2 (firstcell and secondcell) ?


      Thanks !
    • Show all 4 messages in this topic