PartyList : This is a data type available in MS crm.
It is almost a lookup that can have references to more than one records of an entity for a single field.
A partylist has certain attributes like name, id, type,typename etc.
So the basic operation for such a field will be to retrieve or set the values.
As partylist is not a normal type like integer or string type we need to have arrays to get/set the values.
To retrieve values by jscript:
var partylistItem = new Array;
//get the items/values in a field named"resources"
partylistItem = Xrm.Page.getAttribute("resources").getValue();
Thus now the array holds all the items/record referenced for a single field
.