This project has moved. For the latest updates, please go here.
1
Vote

Person or Group Change Detection

description

Hi,

This is probably my naivety on SharePoint and JavaScript, but I am trying to detect when a user puts an entry into a People or Group field.

I've tried the following and none of them seem to work.
person = SPUtility.GetSPField('Person');
Attempt 1:
$(person.SPFieldUser).change(function()
{
  [my code here];
});
Attempt 2:
$(person.SPFieldUser).oninput(function()
{
  [my code here];
});
Attempt 3:
$(person.SPFieldUser).onfocusout(function()
{
  [my code here];
});
Any help is appreciated!

comments