Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Clear SharePoint People Editor Control Value
//Clear People Picker
//peoplePickerId - SharePoint People Editor ClientID
function clearPeoplePickerBox(peoplePickerId) {
var $pe = $("#" + peoplePickerId);
var $peData = $pe.find("input[id$='hiddenSpanData']");
var $peDisplayArea = $pe.find("div[id$='_upLevelDiv']");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment