Friday, February 5, 2016

How to get ClientPeoplePicker value using javascript

var dispTitle = "Person";    
var pickerDiv = $("[id$='ClientPeoplePicker'][title='" + dispTitle + "']");    
var peoplePicker = SPClientPeoplePicker.SPClientPeoplePickerDict[pickerDiv[0].id];
peoplePicker.GetAllUserInfo();

enter image description here

No comments:

Post a Comment