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 Answer 1

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
  });
2
  • this doesn't seem to be true. can anyone confirm? Jul 4, 2018 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 Jul 4, 2018 at 13:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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