i am able to get data from asp.net mvc controller's action (returning json) to jquery in view. I am getting here data collection in 't'. but I need to iterate each collection in data , so I want to get something like t.count . so that i can perform the for loop there.
This is working for me :
       $.getJSON('/LoadTest/GetAllQuestionsForTest', function(data) {
                        var t = $.parseJSON(data);
                        alert(t[0].QuestionText);
    // want here  
    //var count = t.count;//how to get this value ?
   // for(i=1;i <= count;i++)
   // {
    //create div on the fly (this i can do )
   // }
                    });
but showing only 0'th indexed value. I want to get count of objects in data collection. so that i can iterate it. how to do that?
 
     
     
     
    