I am using the SharePoint:ClientPeoplePicker control in my custom SharePoint page and would like to fire a change event when a user is selected from the list of users. I can see that there are multiple div's, hidden form field, span's etc when the ClientPeoplePicker is rendered. I tried multiple things like:
$('input[id$="TopSpan_HiddenInput"]').on('change', function(){
alert('People Picker Value Changed');
});
$('span.sp-peoplepicker-resolveList').on('change',function(){
alert('People Picker Value Changed');
});
But none works. Here's my code for ClientPeoplePicker
<SharePoint:ClientPeoplePicker Required="false" ID="cppProjectManager" runat="server" Width="100%" Title="ProjectManager" PrincipalAccountType="User" Rows="1" AllowMultipleEntities="false" />
Any help would be appreciated.