Hi
I have in my c# code a class with 3 properties.
public class Sender
{
public string Id {get; set;}
public string html {get; set;}
public string AnotherField {get; set}
}
So I have a list collection.
List<Sender> test = new List<Sender>();
So I return this as a Json result in my view
public Json myView()
{
return Json(test);
}
so now in my jquery ajax post request I want to grab that response and go through this collection.
So far I got a jquery each loop but I need get like the "id" to use in my jquery. So I need to call the records key values. How could I do this?