0

I want to do some operation when focus is lost from <SharePoint:ClientPeoplePicker>. Is there is any event like FocusOut or any other event.

Thanks

1

If you are using client side people picker with div as explained here:

<div id="peoplePickerDiv"></div>

You can set the blur event on peoplePickerDiv using jQuery as following:

  $("#peoplePickerDiv").blur(function(e){
      // Your operation here
  });
  • this doesn't seem to be true. can anyone confirm? – user1566694 Jul 4 '18 at 13:26
  • what does seem to be true is that 2 levels of divs down, this class is added and removed: sp-peoplepicker-topLevelFocus – user1566694 Jul 4 '18 at 13:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.