How to get value array of object using jquery
- by Sthepen
Hi there.. i have problem to get all element in array of object using jquery...
i get this code from internet...
var id = 123;
var test = new Object();
test.Identification = id;
test.Group = "users";
test.Persons = new Array();
test.Persons.push({"FirstName":" AA ","LastName":"LA"});
test.Persons.push({"FirstName":" BB ","LastName":"LBB"});
test.Persons.push({"FirstName":" CC","LastName":"LC"});
test.Persons.push({"FirstName":" DD","LastName":"LD"});
how to get each of "FirstName" and "LastName" in Persons using JQuery??